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