From 3cf35b1a999b94440a680b8d81254e2e61f15dfd Mon Sep 17 00:00:00 2001 From: 0xfourzerofour Date: Tue, 31 Oct 2023 10:07:40 -0400 Subject: [PATCH] chore(docker): set git tag externally --- .github/workflows/docker-release.yaml | 3 +-- Makefile | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index 43ef16f6e..f84e270ad 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -51,5 +51,4 @@ jobs: run: | cargo install cross --git https://github.com/cross-rs/cross export PROFILE=release - export GIT_TAG=$(shell git describe --tags --abbrev=0) - sudo -E env "PATH=$PATH" make docker-build-latest + sudo -E env "PATH=$PATH" make docker-build-latest GIT_TAG=$(git describe --tags --abbrev=0) diff --git a/Makefile b/Makefile index 75bc8a059..cb75f0d10 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,7 @@ PROFILE ?= release DOCKER_IMAGE_NAME ?= alchemyplatform/rundler BIN_DIR = "dist/bin" BUILD_PATH = "target" +GIT_TAG ?= "latest" .PHONY: build build: ## Build the project.