actions: Fixed typo
This commit is contained in:
parent
9effaf203c
commit
e4e831d4bd
@ -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
|
Loading…
Reference in New Issue
Block a user