fix: Move version page creation to build step
All checks were successful
Build Docker / Build Docker (push) Successful in 19s
All checks were successful
Build Docker / Build Docker (push) Successful in 19s
This commit is contained in:
parent
e2fc022abf
commit
24ae320a79
@ -9,9 +9,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: Add version page
|
||||
run: |
|
||||
echo "version: ${{ GITHUB_RUN_NUMBER }}" > content/version.txt
|
||||
- name: Install Docker
|
||||
run : |
|
||||
echo "Updating apt sources"
|
||||
@ -33,7 +30,7 @@ jobs:
|
||||
tag_num="${tag}-${tag_num}"
|
||||
fi
|
||||
|
||||
|
||||
echo "version: ${{ GITHUB_RUN_NUMBER }}" > content/version.txt
|
||||
docker build -t hns_doh:$tag_num .
|
||||
docker tag hns_doh:$tag_num git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||
docker push git.woodburn.au/nathanwoodburn/hns_doh:$tag_num
|
||||
|
Loading…
Reference in New Issue
Block a user