actions: Fixed errors
This commit is contained in:
parent
1660227d17
commit
1c3e01ddb1
@ -41,11 +41,10 @@ jobs:
|
|||||||
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=$(git rev-parse --short HEAD)
|
tag_num=$(git rev-parse --short HEAD)
|
||||||
docker build -t woodburn:$tag_num .
|
docker build -t woodburn:$tag_num .
|
||||||
- name: Push Docker image
|
|
||||||
run : |
|
|
||||||
docker tag woodburn:$tag_num git.woodburn.au/nathanwoodburn/woodburn:$tag_num
|
docker tag woodburn:$tag_num git.woodburn.au/nathanwoodburn/woodburn:$tag_num
|
||||||
docker push 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 tag woodburn:$tag_num git.woodburn.au/nathanwoodburn/woodburn:latest
|
||||||
docker push git.woodburn.au/nathanwoodburn/woodburn:latest
|
docker push git.woodburn.au/nathanwoodburn/woodburn:latest
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user