Skip to content

Commit

Permalink
Merge pull request #325 from atc0005/push-repo-version-var-into-conta…
Browse files Browse the repository at this point in the history
…iners-for-build-tasks-stable-branch

Push `REPO_VERSION` var into containers for builds
  • Loading branch information
atc0005 authored Jul 31, 2024
2 parents 81cbb8f + f100239 commit d0d2d9e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,7 @@ docker-release-build: clean helper-builder-setup
@echo
@echo "Using release builder image to generate project release assets"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--user builduser:builduser \
--rm \
-i \
Expand All @@ -831,6 +832,7 @@ podman-release-build: clean helper-builder-setup
@echo
@echo "Using release builder image to generate project release assets"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--rm \
-i \
-v $$PWD/$(OUTPUTDIR):/builds/$(OUTPUTDIR):rw \
Expand All @@ -850,6 +852,7 @@ docker-dev-build: clean helper-builder-setup
@echo
@echo "Using release builder image to generate project release assets"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--user builduser:builduser \
--rm \
-i \
Expand All @@ -870,6 +873,7 @@ podman-dev-build: clean helper-builder-setup
@echo
@echo "Using release builder image to generate project release assets"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--rm \
-i \
-v $$PWD/$(OUTPUTDIR):/builds/$(OUTPUTDIR):rw \
Expand All @@ -891,6 +895,7 @@ docker-packages: helper-builder-setup

@echo "Building with $(CONTAINER_COMMAND)"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--rm \
--user builduser:builduser \
-i \
Expand All @@ -913,6 +918,7 @@ podman-packages: helper-builder-setup

@echo "Building with $(CONTAINER_COMMAND)"
$(CONTAINER_COMMAND) container run \
--env REPO_VERSION=$(REPO_VERSION) \
--rm \
-i \
-v $$PWD/$(OUTPUTDIR):/builds/$(OUTPUTDIR):rw \
Expand Down

0 comments on commit d0d2d9e

Please sign in to comment.