feat: Finish auto naming
All checks were successful
Build Docker / BuildSite (push) Successful in 27s
All checks were successful
Build Docker / BuildSite (push) Successful in 27s
This commit is contained in:
parent
5d71e5fe79
commit
1fa557838b
@ -38,12 +38,12 @@ jobs:
|
|||||||
repo=$GITHUB_REPOSITORY
|
repo=$GITHUB_REPOSITORY
|
||||||
# Remove the org name
|
# Remove the org name
|
||||||
repo=${repo#*/}
|
repo=${repo#*/}
|
||||||
echo "repo=$repo"
|
echo "container=$repo"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
docker build -t go-webserver-template:$tag_num .
|
docker build -t $repo:$tag_num .
|
||||||
docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num
|
docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag_num
|
||||||
docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag_num
|
docker push git.woodburn.au/nathanwoodburn/$repo:$tag_num
|
||||||
docker tag go-webserver-template:$tag_num git.woodburn.au/nathanwoodburn/go-webserver-template:$tag
|
docker tag $repo:$tag_num git.woodburn.au/nathanwoodburn/$repo:$tag
|
||||||
docker push git.woodburn.au/nathanwoodburn/go-webserver-template:$tag
|
docker push git.woodburn.au/nathanwoodburn/$repo:$tag
|
Loading…
Reference in New Issue
Block a user