Skip to content

Commit

Permalink
handle ghcr repo in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
CamJN committed Jul 16, 2024
1 parent 0af55ab commit c1671f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ VERSION = 4.0.0
ifneq ($VERSION, edge)
MAJOR_VERSION := $(shell awk -v OFS=. -F. '{print $$1,$$2}' <<< $(VERSION))
endif
ifeq ($(GITHUB_ACTIONS),true)
IMG_REPO = ghcr.io
else
IMG_REPO = docker.io
endif
OWNER = phusion
DISABLE_OPTIMIZATIONS = 0
IMAGE = $(OWNER)/holy-build-box
IMAGE = $(IMG_REPO)/$(OWNER)/holy-build-box

.PHONY: build test tags push release

Expand Down

0 comments on commit c1671f6

Please sign in to comment.