Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,24 @@ test:

build-docker:
docker buildx build \
--output=type=docker \
--load \
--platform=linux/$(GOARCH) \
-t ${REPO}/${IMAGE}:latest \
-t ${REPO}/${IMAGE}:${TAG} \
--build-arg BUILDER=$(shell hack/setup-go.sh) \
--build-arg TAG=${TAG} .

release-docker:
docker buildx build \
--push \
--platform=linux/amd64,linux/arm64 \
-t ${REPO}/${IMAGE}:latest \
-t ${REPO}/${IMAGE}:${TAG} \
--build-arg BUILDER=$(shell hack/setup-go.sh) \
--build-arg TAG=${TAG} .

build-server:
TAG=${TAG} hack/build-server.sh

build-client:
TAG=${TAG} hack/build-client.sh

8 changes: 4 additions & 4 deletions cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ options:
dynamic_substitutions: true

steps:
- name: 'gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250116-2a05ea7e3d'
- name: "gcr.io/k8s-staging-test-infra/gcb-docker-gcloud:v20250116-2a05ea7e3d"
entrypoint: make
env:
- REPO=us-central1-docker.pkg.dev/k8s-staging-images/aws-encryption-provider
- IMAGE=aws-encryption-provider
- TAG=$_GIT_TAG
args:
- build-docker
- release-docker

substitutions:
_GIT_TAG: '12345'
_PULL_BASE_REF: 'master'
_GIT_TAG: "12345"
_PULL_BASE_REF: "master"