Interface Image

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    Image.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.96.0 (build 921e240)",
               date="2024-03-28T21:16:43.121Z")
    @Stability(Experimental)
    public interface Image
    extends software.amazon.jsii.JsiiSerializable
    (experimental) Specifies the docker image to use for the job or globally for all jobs.

    Job configuration takes precedence over global setting. Requires a certain kind of Gitlab runner executor.

    See Also:
    https://docs.gitlab.com/ee/ci/yaml/#image
    • Method Detail

      • getName

        @Stability(Experimental)
        @NotNull
        String getName()
        (experimental) Full name of the image that should be used.

        It should contain the Registry part if needed.

      • getEntrypoint

        @Stability(Experimental)
        @Nullable
        default List<Object> getEntrypoint()
        (experimental) Command or script that should be executed as the container's entrypoint.

        It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array.