[e+c] fix build pipeline
Some checks failed
Build and push docker image / publish (push) Failing after 6s
Some checks failed
Build and push docker image / publish (push) Failing after 6s
This commit is contained in:
parent
401edbc6c4
commit
a3bbc098be
1 changed files with 4 additions and 4 deletions
|
@ -30,10 +30,10 @@ jobs:
|
||||||
|
|
||||||
- name: Update debug.json with Git info
|
- name: Update debug.json with Git info
|
||||||
run: |
|
run: |
|
||||||
git rev-parse HEAD > commit_hash
|
export TAG=$(echo "${{ github.ref }}" | sed 's/refs\/tags\///')
|
||||||
git describe --tags --abbrev=0 > tag
|
export SHA=$(echo "${{ github.sha }}")
|
||||||
sed -i "s|\"commit\": \"\"|\"commit\": \"$(cat commit_hash)\"|" static/assets/debug.json
|
sed -i "s|\"commit\": \"\"|\"commit\": \"$SHA\"|" static/assets/debug.json
|
||||||
sed -i "s|\"tag\": \"\"|\"tag\": \"$(cat tag)\"|" static/assets/debug.json
|
sed -i "s|\"tag\": \"\"|\"tag\": \"$TAG\"|" static/assets/debug.json
|
||||||
|
|
||||||
- name: 🐋 Build Container
|
- name: 🐋 Build Container
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in a new issue