We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9147bc commit 2ff7cd7Copy full SHA for 2ff7cd7
1 file changed
.github/workflows/cd.yml
@@ -20,5 +20,9 @@ jobs:
20
uses: s0240917/python-flask-docker@master
21
env:
22
KUBE_CONFIG_DATA: ${{ secrets.KUBE_CONFIG_DATA }}
23
+ ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
24
+ ECR_REPOSITORY: my-app-repo
25
+ IMAGE_TAG: ${{ github.sha }}
26
with:
- args: apply deployment.yaml
27
+ args: set image deployment/$ECR_REPOSITORY $ECR_REPOSITORY=$ECR_REGISTRY/$ECR_REPOSITORY:$IMAGE_TAG
28
+
0 commit comments