mirror of
http://nostr-git-proxy.forgejo.svc.cluster.local/git/45387ca441053e230b2126802005eb03767ab59d84555e8bac86b6e7def14e27/bestdadjokes
synced 2026-11-03 07:26:59 +00:00
fix: use gitea.sha instead of github.sha in deploy workflow
Some checks failed
Build and Deploy / deploy (push) Failing after 1m38s
Some checks failed
Build and Deploy / deploy (push) Failing after 1m38s
This commit is contained in:
parent
0c6528dd19
commit
0df6b053c6
1 changed files with 3 additions and 3 deletions
|
|
@ -15,18 +15,18 @@ jobs:
|
||||||
- name: Build image
|
- name: Build image
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
-t git.ch4t.buzz/buzzparty/bestdadjokes:${{ github.sha }} \
|
-t git.ch4t.buzz/buzzparty/bestdadjokes:${{ gitea.sha }} \
|
||||||
-t git.ch4t.buzz/buzzparty/bestdadjokes:latest \
|
-t git.ch4t.buzz/buzzparty/bestdadjokes:latest \
|
||||||
.
|
.
|
||||||
|
|
||||||
- name: Push to registry
|
- name: Push to registry
|
||||||
run: |
|
run: |
|
||||||
docker push git.ch4t.buzz/buzzparty/bestdadjokes:${{ github.sha }}
|
docker push git.ch4t.buzz/buzzparty/bestdadjokes:${{ gitea.sha }}
|
||||||
docker push git.ch4t.buzz/buzzparty/bestdadjokes:latest
|
docker push git.ch4t.buzz/buzzparty/bestdadjokes:latest
|
||||||
|
|
||||||
- name: Roll out to k8s
|
- name: Roll out to k8s
|
||||||
run: |
|
run: |
|
||||||
kubectl set image deployment/static-bdj \
|
kubectl set image deployment/static-bdj \
|
||||||
nginx=git.ch4t.buzz/buzzparty/bestdadjokes:${{ github.sha }} \
|
nginx=git.ch4t.buzz/buzzparty/bestdadjokes:${{ gitea.sha }} \
|
||||||
-n default
|
-n default
|
||||||
kubectl rollout status deployment/static-bdj -n default --timeout=120s
|
kubectl rollout status deployment/static-bdj -n default --timeout=120s
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue