Use jobs.<job_id>.steps[*].with.entrypoint
to set the Docker ENTRYPOINT
in the Dockerfile
, or override an existing ENTRYPOINT
in the Dockerfile
.
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.
You can also use entrypoint
with JavaScript actions that do not define any inputs.
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: