Skip to content

Commit

Permalink
chore: update release build script to support internal scanning (Goog…
Browse files Browse the repository at this point in the history
  • Loading branch information
ericzzzzzzz authored Jun 1, 2023
1 parent dc65e65 commit 3c6ed45
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ release-build:
-f deploy/skaffold/Dockerfile \
--target release \
-t gcr.io/$(GCP_PROJECT)/skaffold:edge \
-t gcr.io/$(GCP_PROJECT)/skaffold:public-image-edge \
-t gcr.io/$(GCP_PROJECT)/skaffold:$(COMMIT) \
.

Expand All @@ -177,6 +178,7 @@ release-lts: $(BUILD_DIR)/VERSION
--target release \
-t gcr.io/$(GCP_PROJECT)/skaffold:lts \
-t gcr.io/$(GCP_PROJECT)/skaffold:$(VERSION)-lts \
-t gcr.io/$(GCP_PROJECT)/skaffold:$(SCANNING_MARKER)-lts \
.

.PHONY: release-slim
Expand Down
1 change: 1 addition & 0 deletions deploy/cloudbuild-release-lts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ steps:
- 'make'
- 'release-lts'
- 'VERSION=$TAG_NAME'
- 'SCANNING_MARKER=$_SCANNING_MARKER'
- 'RELEASE_BUCKET=$_RELEASE_BUCKET'
- 'GCP_PROJECT=$PROJECT_ID'

Expand Down
1 change: 1 addition & 0 deletions deploy/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ steps:
images:
- 'gcr.io/$PROJECT_ID/build_deps:latest'
- 'gcr.io/$PROJECT_ID/skaffold:edge'
- 'gcr.io/$PROJECT_ID/skaffold:public-image-edge'
- 'gcr.io/$PROJECT_ID/skaffold:$COMMIT_SHA'
- 'us-east1-docker.pkg.dev/$PROJECT_ID/scanning/skaffold:edge'

Expand Down

0 comments on commit 3c6ed45

Please sign in to comment.