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
This commit is contained in:
parent
55798e102a
commit
6c86e6f1de
1 changed files with 3 additions and 3 deletions
|
|
@ -15,18 +15,18 @@ jobs:
|
|||
- name: Build image
|
||||
run: |
|
||||
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 \
|
||||
.
|
||||
|
||||
- name: Push to registry
|
||||
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
|
||||
|
||||
- name: Roll out to k8s
|
||||
run: |
|
||||
kubectl set image deployment/static-bdj \
|
||||
nginx=git.ch4t.buzz/buzzparty/bestdadjokes:${{ github.sha }} \
|
||||
nginx=git.ch4t.buzz/buzzparty/bestdadjokes:${{ gitea.sha }} \
|
||||
-n default
|
||||
kubectl rollout status deployment/static-bdj -n default --timeout=120s
|
||||
|
|
|
|||
Loading…
Reference in a new issue