Skip to content

Commit

Permalink
fix broken GA CI build (#10453)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpunia1 authored Dec 6, 2024
1 parent 0fd03ce commit a897549
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -916,6 +916,10 @@ HELM_BUCKET ?= gs://solo-public-tagged-helm
# modifier to docker builds which can auto-delete docker images after a set time
QUAY_EXPIRATION_LABEL ?= --label quay.expires-after=3w

ifeq (,$(findstring quay,$(IMAGE_REGISTRY)))
QUAY_EXPIRATION_LABEL :=
endif

# define empty publish targets so calls won't fail
.PHONY: publish-docker
.PHONY: publish-docker-retag
Expand Down
7 changes: 7 additions & 0 deletions changelog/v1.19.0-beta1/ci-multiarch-fixes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
changelog:
- type: NON_USER_FACING
description: >-
Build & push multiarch images tocGCS besides quay instead of retagging them in CI build.
Also enabled publishing images to GCR for dev build so we can catch errors before running GA build.
skipCI-docs-build:true
9 changes: 5 additions & 4 deletions ci/cloudbuild/publish-artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,15 @@ steps:
waitFor:
- 'gcr-auth'

# Run make targets to retag and push docker images to GCR
# Run make targets to build and push docker images to GCR
- name: 'gcr.io/$PROJECT_ID/go-mod-make:0.10.2'
id: 'docker-push-extended-gcr'
id: 'publish-docker-extended-gcr'
dir: *dir
args:
- 'publish-docker-retag'
- publish-docker
env:
- 'ORIGINAL_IMAGE_REGISTRY=quay.io/solo-io'
- 'MULTIARCH=true'
- 'MULTIARCH_PUSH=true'
- 'IMAGE_REGISTRY=gcr.io/gloo-edge'
secretEnv:
- 'GITHUB_TOKEN'
Expand Down

0 comments on commit a897549

Please sign in to comment.