This action publish docker image to your registry
Required username for container registry authentication .
Required password for container registry authentication.
Required Github repository name
Required Container registry repository name
Required Hostname of the container repository
Required Github Personal Access Token string in https://[USERNAME]:[PERSONAL_ACCESS_TOKEN]@github.com format
Image tag. If you don't want to set, it is set to latest
Tagged image name
uses: spi-dot-dev/docker-action@master
with: # These are injested as arguments in docker-action/entrypoint.sh
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: ${{ github.repository }}
docker_repository: 'dockerhub-username/repo-name'
registry: registry.hub.docker.com
pat_string: ${{ secrets.PAT_STRING }}
tag: ${{ github.ref }} # or specify yourself!
# To use github's container repository replace
# registry: docker.pkg.github.com
# repository: user/test-repo/test-appA full example can be found in the /workflows/example.yml file