Skip to content

Commit d8d5e08

Browse files
author
Moussa Ouattara
committed
up
1 parent 1e407ad commit d8d5e08

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/helloworld.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
namespace: ${{ env.NAMESPACE }}
5454
arguments: --force true
5555

56+
- run: |
57+
sed -i -e "s|_IMAGE_|${{ env.REGISTRY_NAME }}.azurecr.io/${{ env.APP_NAME }}:${{ github.sha }}|g" ${{ github.workspace }}/manifests/deployment.yaml
58+
5659
# Deploy app to AKS
5760
- uses: azure/k8s-deploy@v1
5861
with:

manifests/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
"kubernetes.io/os": linux
1717
containers:
1818
- name: helloworld
19-
image: <image>
19+
image: _IMAGE_
2020
resources:
2121
requests:
2222
cpu: 100m

0 commit comments

Comments
 (0)