Skip to content

Commit

Permalink
Update the REV var to use current branch name (#231)
Browse files Browse the repository at this point in the history
Co-authored-by: Khaja Omer <[email protected]>
  • Loading branch information
komer3 and komer3 authored Sep 13, 2024
1 parent 52536ec commit a118dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PLATFORM ?= linux/amd64
REGISTRY_NAME ?= index.docker.io
IMAGE_NAME ?= linode/linode-blockstorage-csi-driver
REV := $(shell git describe --long --tags --dirty 2> /dev/null || echo "dev")
REV := $(shell git branch --show-current 2> /dev/null || echo "dev")
IMAGE_VERSION ?= $(REV)
IMAGE_TAG ?= $(REGISTRY_NAME)/$(IMAGE_NAME):$(IMAGE_VERSION)
GOLANGCI_LINT_IMG := golangci/golangci-lint:v1.59-alpine
Expand Down

0 comments on commit a118dd5

Please sign in to comment.