From e5b0106e67284fdf0c342f7ba300bf11e8ea66df Mon Sep 17 00:00:00 2001 From: lcampbell Date: Tue, 13 Jun 2023 12:15:16 -0300 Subject: [PATCH] add services dir to image path in org-footprint cloudbuild --- .../image-repo-policies/org-footprint-image-repo-policy.yaml | 2 +- services/org-footprint/cloudbuild.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/clusters/auto-image-update/bases/image-repo-policies/org-footprint-image-repo-policy.yaml b/k8s/clusters/auto-image-update/bases/image-repo-policies/org-footprint-image-repo-policy.yaml index 2422ad9916..72e33e4e6a 100644 --- a/k8s/clusters/auto-image-update/bases/image-repo-policies/org-footprint-image-repo-policy.yaml +++ b/k8s/clusters/auto-image-update/bases/image-repo-policies/org-footprint-image-repo-policy.yaml @@ -4,7 +4,7 @@ metadata: name: org-footprint namespace: flux-system spec: - image: gcr.io/track-compliance/org-footprint + image: gcr.io/track-compliance/services/org-footprint interval: 1m0s --- apiVersion: image.toolkit.fluxcd.io/v1alpha1 diff --git a/services/org-footprint/cloudbuild.yaml b/services/org-footprint/cloudbuild.yaml index f88bca1644..77addb8aab 100644 --- a/services/org-footprint/cloudbuild.yaml +++ b/services/org-footprint/cloudbuild.yaml @@ -46,7 +46,7 @@ steps: args: - '-c' - | - echo "gcr.io/$PROJECT_ID/org-footprint:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename + echo "gcr.io/$PROJECT_ID/services/org-footprint:$BRANCH_NAME-$SHORT_SHA-$(date +%s)" > /workspace/imagename - name: 'gcr.io/cloud-builders/docker' id: build-if-master