Skip to content

Commit

Permalink
Merge pull request #17 from ArangoGutierrez/multiarch
Browse files Browse the repository at this point in the history
Only add --provenance flag during multiarch builds
  • Loading branch information
ArangoGutierrez authored Aug 2, 2024
2 parents 2ae65a0 + 1673d85 commit 44cfee6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion deployments/container/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ endif
build:
DOCKER_BUILDKIT=1 \
$(DOCKER) $(BUILDX) build --pull \
--provenance=false --sbom=false \
$(DOCKER_BUILD_OPTIONS) \
$(DOCKER_BUILD_PLATFORM_OPTIONS) \
--tag $(IMAGE) \
Expand Down
2 changes: 1 addition & 1 deletion deployments/container/multi-arch.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.

PUSH_ON_BUILD ?= false
DOCKER_BUILD_OPTIONS = --output=type=image,push=$(PUSH_ON_BUILD)
DOCKER_BUILD_OPTIONS = --output=type=image,push=$(PUSH_ON_BUILD) --provenance=false --sbom=false
DOCKER_BUILD_PLATFORM_OPTIONS = --platform=linux/amd64,linux/arm64

0 comments on commit 44cfee6

Please sign in to comment.