We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 972e966 commit a826770Copy full SHA for a826770
.github/workflows/build-apps.yml
@@ -41,7 +41,7 @@ jobs:
41
with:
42
images: ghcr.io/${{ github.repository_owner }}/${{ matrix.app }}
43
tags: |
44
- type=sha
+ type=raw,value=sha-${{ github.sha }}
45
type=raw,value=latest
46
labels: |
47
org.opencontainers.image.source=${{ github.repository }}
.github/workflows/deploy-apps.yml
@@ -27,3 +27,10 @@ jobs:
27
28
- name: Apply K8s manifests
29
run: kubectl apply -f infra/k8s/items-app-deployment.yaml
30
+
31
+ - name: Update deployment image to current SHA
32
+ run: |
33
+ kubectl set image deployment/items-app items-app=ghcr.io/${{ github.repository_owner }}/items-app:sha-${{ github.sha }} -n default
34
35
+ - name: Wait for rollout
36
+ run: kubectl rollout status deployment/items-app -n default
0 commit comments