-
I’m trying to port a GitLab Pipeline to GitHub Actions, where we use Docker containers to provide the runtime environment. In GitLab, we simply use a line
However, the commands to be run later cannot find the needed binaries. Looking at the log, it appears that the container was created with I may be missing something obvious, though I checked both the documentation and Google. Is there any way to use the entrypoint provided by the image without creating a Docker container action? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Two more things I tried:
or
will both get an error
|
Beta Was this translation helpful? Give feedback.
-
I’ve settled along the lines below. Not ideal/DRY, as the
|
Beta Was this translation helpful? Give feedback.
I’ve settled along the lines below. Not ideal/DRY, as the
run.sh
entrypoint script has to be duplicated from the Docker container and kept up to date. Also, the upload-artifact GitHub Actions does not preserve executable bits, so have to zip everything in a tar file.