Skip to content

Commit 8c6e84c

Browse files
committed
[chore] update Makefile and Dockerfile for the app version on prod github action workflow
1 parent 1f916d7 commit 8c6e84c

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

.github/workflows/build_prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ jobs:
3232
NEW_VERSION: ${{ steps.previoustag.outputs.tag }}
3333
run: |
3434
export REGISTRY=${{ vars.VCR_REGISTRY }}
35-
export VERSION=${NEW_VERSION}
35+
export VERSION=${{ github.ref_name }}
3636
make bush-local-images

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ TAR_FILE ?= rootfs.tar
3333
GOOS ?= $(shell go env GOOS)
3434
GOPROXY ?= $(shell go env GOPROXY)
3535
#VERSION ?= $(shell git describe --tags --match='v*')
36-
VERSION := "v0.0.0"
36+
VERSION ?= "v0.0.0"
3737
GOARCH :=
3838
GOFLAGS :=
3939
TAGS :=

requirements.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)