Skip to content

Commit

Permalink
Build binaries for docker images in cloudbuild.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
code-elinka authored May 10, 2023
1 parent 4cdd795 commit 3217890
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,22 @@ options:
machineType: E2_HIGHCPU_8
steps:
- name: gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20230206-8160eea68e
entrypoint: make
entrypoint: bash
env:
- DOCKER_CLI_EXPERIMENTAL=enabled
- REGISTRY="gcr.io/k8s-ingress-image-push"
- VERSION=$_PULL_BASE_REF
- ALL_ARCH="amd64 arm64"
- VERBOSE=1
- HOME=/root
- USER=root
args: ['all-push','ALL_ARCH=amd64 arm64']
args:
- -c
- |
echo "build binaries"
make all-build ALL_ARCH="${ALL_ARCH}"
echo "build & push images"
make all-push ALL_ARCH="${ALL_ARCH}"
substitutions:
_GIT_TAG: "12345"
_PULL_BASE_REF: "main"

0 comments on commit 3217890

Please sign in to comment.