Skip to content

Commit

Permalink
fix yaml syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ewansheldon committed Sep 11, 2023
1 parent f564b95 commit 537a47e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
gcloud container clusters get-credentials cluster-1 --zone $CLOUDSDK_COMPUTE_ZONE --project $PROJECT_NAME
kubectl set image deployment/$DEPLOYMENT-deployment $DEPLOYMENT=${IMAGE_TAG} -n ${NAMESPACE}
- name: Clean up
run: |-
for digest in $(gcloud container images list-tags gcr.io/clean-resource-316109/smart-vault-api --format="get(digest)" --limit=2 --filter="NOT tags:${GITHUB_REF##*/}.${GITHUB_SHA}") \
do \
gcloud container images delete "gcr.io/clean-resource-316109/smart-vault-api@$digest" --force-delete-tags --quiet \
done
- name: Cleanup
run: |-
for digest in $(gcloud container images list-tags gcr.io/clean-resource-316109/smart-vault-api --format="get(digest)" --limit=2 --filter="NOT tags:${GITHUB_REF##*/}.${GITHUB_SHA}") \
do \
gcloud container images delete "gcr.io/clean-resource-316109/smart-vault-api@$digest" --force-delete-tags --quiet \
done

0 comments on commit 537a47e

Please sign in to comment.