Github Action requires DOCKERHUB_USERNAME and DOCKERHUB_TOKEN (generated from hub.docker.com) to be set in the Github secrets section in the repo config.
Pushes trigger Github Action to build Docker images and push them to Docker Hub:
Git branch branchname pushes peerstohttp:branchname image tag. Thus, peerstohttp:master acts as an edge/unreleased/HEAD image tag. Other branches push to their respective image tags (useful for testing feature branches),
Git tags vX.Y.X push to peerstohttp:X.Y.Z, peerstohttp:X.Y, peerstohttp:X and peerstohttp:latest.:latest tag is the default if no tag specified, so docker pull peerstohttp pulls latest released (stable) git tag.
Also:
Added verbosity during build, to have more troubleshooting info in the actions.
Enabled Dependabot (only for Github Actions manifests). No need to toggle or configure anything.
Github Action requires
DOCKERHUB_USERNAME
andDOCKERHUB_TOKEN
(generated from hub.docker.com) to be set in the Github secrets section in the repo config. Pushes trigger Github Action to build Docker images and push them to Docker Hub:branchname
pushespeerstohttp:branchname
image tag. Thus,peerstohttp:master
acts as an edge/unreleased/HEAD image tag. Other branches push to their respective image tags (useful for testing feature branches),vX.Y.X
push topeerstohttp:X.Y.Z
,peerstohttp:X.Y
,peerstohttp:X
andpeerstohttp:latest
.:latest
tag is the default if no tag specified, sodocker pull peerstohttp
pulls latest released (stable) git tag.Also:
EDIT: Check out action runs and image tags from my testing on my repos.