Use jobs.<job_id>.steps[*].with.entrypoint
to set the container entrypoint
which will override the ENTRYPOINT
specified within the container image.
CloudBees platform has the following key differences from GitHub Actions (GHA):
|
Unlike Docker ENTRYPOINT
, the platform entrypoint
instruction accepts only a single string defining the executable to be run.
In the following example, shell
is not specified, and entrypoint
is defined.
steps: - name: Run a command uses: docker://alpine:3.18 with: entrypoint: /bin/echo run: