diff --git a/.github/workflows/gc.yaml b/.github/workflows/gc.yaml index bd24aed..94dc134 100644 --- a/.github/workflows/gc.yaml +++ b/.github/workflows/gc.yaml @@ -125,7 +125,7 @@ jobs: ./kustomize build | kubectl apply --validate=false -f - # Check the rollout status - kubectl rollout status deployment/$DEPLOYMENT_NAME + # kubectl rollout status deployment/$DEPLOYMENT_NAME # Get services information kubectl get services -o wide diff --git a/k8s/kustomization.yaml b/k8s/kustomization.yaml index 2227aee..99fdc64 100644 --- a/k8s/kustomization.yaml +++ b/k8s/kustomization.yaml @@ -7,4 +7,5 @@ resources: images: - name: carlohcs/kubernetes-ci-cd-github-actions - newTag: latest \ No newline at end of file + newName: $GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE + newTag: $GAR_LOCATION-docker.pkg.dev/$PROJECT_ID/$REPOSITORY/$IMAGE:$GITHUB_SHA \ No newline at end of file