Skip to content

Commit

Permalink
change image name
Browse files Browse the repository at this point in the history
  • Loading branch information
PeeQuessada committed Mar 14, 2024
1 parent 4c335e2 commit 7000afc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/deploy-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ jobs:
- name: Deploy deployment to GKE
working-directory: k8s/
run: |
export IMAGE_NAME=${{ vars.REGION }}-docker.pkg.dev/${{ vars.PROJECT_ID }}/${{ vars.prefix }}-${{ vars.PROJECT_ID }}/app:${{ github.run_id }}
kubectl apply -f api-configmap.yaml
kubectl apply -f api-deployment.yaml
kubectl apply -f api-service.yaml
2 changes: 1 addition & 1 deletion k8s/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
spec:
containers:
- name: api-container
image: "${{ env.IMAGE_NAME }}"
image: $IMAGE_NAME
workingDir: /usr/api
resources:
requests:
Expand Down

0 comments on commit 7000afc

Please sign in to comment.