Skip to content

Commit

Permalink
Use variable for repos in Makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Franssen <marco.franssen@philips.com>
  • Loading branch information
marcofranssen committed Dec 22, 2021
1 parent 0c0ed88 commit cc02d63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ build: $(addprefix bin/,$(COMMANDS)) ## builds binaries
.PHONY: image
image: ## build the binary in a docker image
docker build \
-t "philipssoftware/slsa-provenance:$(GIT_TAG)" \
-t "philipssoftware/slsa-provenance:$(GIT_HASH)" \
-t "ghcr.io/philips-labs/slsa-provenance:$(GIT_TAG)" \
-t "ghcr.io/philips-labs/slsa-provenance:$(GIT_HASH)" \
-t "$(HUB_REPO):$(GIT_TAG)" \
-t "$(HUB_REPO):$(GIT_HASH)" \
-t "$(GHCR_REPO):$(GIT_TAG)" \
-t "$(GHCR_REPO):$(GIT_HASH)" \
.

$(GO_PATH)/bin/goreleaser:
Expand Down

0 comments on commit cc02d63

Please sign in to comment.