actions: Fixed errors
All checks were successful
Build Docker / CheckFiles (push) Successful in 9s
Build Docker / Build Docker (push) Successful in 21s

This commit is contained in:
Nathan Woodburn 2023-07-28 14:50:23 +10:00
parent 1660227d17
commit 1c3e01ddb1
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -41,11 +41,10 @@ jobs:
echo "${{ secrets.DOCKERGIT_TOKEN }}" | docker login git.woodburn.au -u nathanwoodburn --password-stdin
tag_num=$(git rev-parse --short HEAD)
docker build -t woodburn:$tag_num .
- name: Push Docker image
run : |
docker tag woodburn:$tag_num git.woodburn.au/nathanwoodburn/woodburn:$tag_num
docker push git.woodburn.au/nathanwoodburn/woodburn:$tag_num
docker tag woodburn:$tag_num git.woodburn.au/nathanwoodburn/woodburn:latest
docker push git.woodburn.au/nathanwoodburn/woodburn:latest