Skip to content

Commit

Permalink
update platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Bugwadia <[email protected]>
  • Loading branch information
JimBugwadia committed Jan 23, 2024
1 parent dc4291a commit dff531b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,12 @@ build:
docker-build:
@echo Build kyverno-notation-aws image with docker... >&2
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 LD_FLAGS=$(LD_FLAGS) go build -o kyverno-notation-aws .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm64/v8 -t $(REPO_IMAGE):$(IMAGE_TAG_LATEST) --load .
docker buildx build --platform linux/amd64,linux/arm64/v8 -t $(REPO_IMAGE):$(IMAGE_TAG_LATEST) --load .

docker-publish:
@echo Build kyverno-notation-aws image with docker... >&2
GOOS=$(GOOS) GOARCH=$(GOARCH) CGO_ENABLED=0 LD_FLAGS=$(LD_FLAGS) go build -o kyverno-notation-aws .
docker buildx build --platform linux/amd64,linux/arm64,linux/arm64/v8 -t $(REPO_IMAGE):$(IMAGE_TAG_LATEST) --load .
docker buildx build --platform linux/amd64,linux/arm64/v8 -t $(REPO_IMAGE):$(IMAGE_TAG_LATEST) --load .
docker tag $(REPO_IMAGE):$(IMAGE_TAG_LATEST) $(REPO_IMAGE):$(IMAGE_TAG_SHA)
docker push $(REPO_IMAGE):$(IMAGE_TAG_SHA)
docker push $(REPO_IMAGE):$(IMAGE_TAG_LATEST)
Expand Down

0 comments on commit dff531b

Please sign in to comment.