Skip to content

Commit

Permalink
ci: remove cross compilation step of cloud build job (#6956)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlonGamez committed Dec 9, 2021
1 parent bfc618e commit 66a1cde
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,14 @@ endif
integration: install integration-tests

.PHONY: release
release: cross $(BUILD_DIR)/VERSION
release: $(BUILD_DIR)/VERSION
docker build \
--build-arg VERSION=$(VERSION) \
-f deploy/skaffold/Dockerfile \
--target release \
-t gcr.io/$(GCP_PROJECT)/skaffold:latest \
-t gcr.io/$(GCP_PROJECT)/skaffold:$(VERSION) \
.
gsutil -m cp $(BUILD_DIR)/$(PROJECT)-* $(GSC_RELEASE_PATH)/
gsutil -m cp $(BUILD_DIR)/VERSION $(GSC_RELEASE_PATH)/VERSION
gsutil -m cp -r $(GSC_RELEASE_PATH)/* $(GSC_RELEASE_LATEST)

.PHONY: release-build
release-build: cross
Expand Down

0 comments on commit 66a1cde

Please sign in to comment.