Skip to content

Commit

Permalink
fix ossf scorecard custom docker building and publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlos Tzianos committed Aug 22, 2024
1 parent 9005e8a commit d344ac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/producers/ossf-scorecard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ OSSF_SCORECARD_SAFETY_BASE_IMAGE=$(shell test -e .custom_image && cat .custom_im
DOCKER=docker

extras:
$(DOCKER) build --tag $(CONTAINER_REPO)/components/producers/ossf-scorecard:$(DRACON_VERSION) \
$(DOCKER) build --tag $(CONTAINER_REPO)/components/producers/ossf-scorecard/scorecard-dracon:$(DRACON_VERSION) \
--file Dockerfile \
$$([ "${SOURCE_CODE_REPO}" != "" ] && echo "--label=org.opencontainers.image.source=${SOURCE_CODE_REPO}" ) \
--build-arg OSSF_SCORECARD_SAFETY_BASE_IMAGE=$(OSSF_SCORECARD_SAFETY_BASE_IMAGE) ../../.. 1>&2

publish-extras:
$(DOCKER) push $(CONTAINER_REPO)/components/producers/ossf-scorecard:$(DRACON_VERSION) 1>&2
$(DOCKER) push $(CONTAINER_REPO)/components/producers/ossf-scorecard/scorecard-dracon:$(DRACON_VERSION) 1>&2

0 comments on commit d344ac3

Please sign in to comment.