actions: Fixed typo
All checks were successful
Build Docker for Release / Build Container ARM (push) Successful in 18s
Build Docker for Release / Build Container AMD (push) Successful in 28s

This commit is contained in:
Nathan Woodburn 2023-09-11 21:54:12 +10:00
parent 9effaf203c
commit e4e831d4bd
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -22,10 +22,10 @@ jobs:
run : | run : |
echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin
tag_num=${GITHUB_RUN_NUMBER} tag_num=${GITHUB_RUN_NUMBER}
docker build -t nginx:$tag . docker build -t nginx:latest .
docker tag nginx:$tag git.woodburn.au/nathanwoodburn/nginx:$tag_num docker tag nginx:latest git.woodburn.au/nathanwoodburn/nginx:$tag_num
docker push git.woodburn.au/nathanwoodburn/nginx:$tag_num docker push git.woodburn.au/nathanwoodburn/nginx:$tag_num
docker tag nginx:$tag git.woodburn.au/nathanwoodburn/nginx:latest docker tag nginx:latest git.woodburn.au/nathanwoodburn/nginx:latest
docker push git.woodburn.au/nathanwoodburn/nginx:latest docker push git.woodburn.au/nathanwoodburn/nginx:latest
Build Container ARM: Build Container ARM:
@ -46,8 +46,8 @@ jobs:
run : | run : |
echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin
tag_num=${GITHUB_RUN_NUMBER} tag_num=${GITHUB_RUN_NUMBER}
docker build -t nginx:$tag . docker build -t nginx:latest .
docker tag nginx:$tag git.woodburn.au/nathanwoodburn/nginx:$tag_num-arm docker tag nginx:latest git.woodburn.au/nathanwoodburn/nginx:$tag_num-arm
docker push git.woodburn.au/nathanwoodburn/nginx:$tag_num-arm docker push git.woodburn.au/nathanwoodburn/nginx:$tag_num-arm
docker tag nginx:$tag git.woodburn.au/nathanwoodburn/nginx:latest-arm docker tag nginx:latest git.woodburn.au/nathanwoodburn/nginx:latest-arm
docker push git.woodburn.au/nathanwoodburn/nginx:latest-arm docker push git.woodburn.au/nathanwoodburn/nginx:latest-arm