feat: Finish auto naming
All checks were successful
Build Docker / BuildSite (push) Successful in 27s

This commit is contained in:
Nathan Woodburn 2024-06-17 15:58:50 +10:00
parent 5d71e5fe79
commit 1fa557838b
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -38,12 +38,12 @@ jobs:
repo=$GITHUB_REPOSITORY
# Remove the org name
repo=${repo#*/}
echo "repo=$repo"
echo "container=$repo"
docker build -t go-webserver-template:$tag_num .
docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num
docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num
docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag
docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag
docker build -t $repo:$tag_num .
docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag_num
docker push git.woodburn.au/nathanwoodburn/$repo:$tag_num
docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag
docker push git.woodburn.au/nathanwoodburn/$repo:$tag