Looks like it should be possible by passing args into the Dockerfile https://help.github.com/en/actions/creating-actions/creating-a-docker-container-action#creating-an-action-metadata-file And here: https://docs.docker.com/engine/reference/builder/