This action pushes an image to the registry. See action metadata
uses: PaxSchweiz/[email protected]
with:
gitrepo: 'myrepo'
registryname: 'docker.pkg.github.com'
registryuser: ${{ github.actor }}
registrytoken: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ github.ref }}
imagename: 'usually_same_as_repo_name'
uses: PaxSchweiz/[email protected]
with:
gitrepo: 'myrepo'
registryname: 'docker.pkg.github.com'
registryuser: ${{ github.actor }}
registrytoken: ${{ secrets.GITHUB_TOKEN }}
gitref: ${{ github.ref }}
imagename: 'usually_same_as_repo_name'
dockerfile: ./docker/one_of_many_images/Dockerfile
buildcontext: ./docker/one_of_many_images/
buildarg: ARG_SPECIFIED_IN_DOCKERFILE=some_value