Skip to content

Commit 023ac4d

Browse files
committed
ci: add commit sha to image
1 parent 47999ed commit 023ac4d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Makefile

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
.ONESHELL:
22

3-
43
PROJECT := coder-labeler
5-
DOCKER_TAG := us-central1-docker.pkg.dev/$(PROJECT)/labeler/labeler
6-
4+
COMMIT_SHA := $(shell git rev-parse --short HEAD)
5+
DOCKER_TAG := us-central1-docker.pkg.dev/$(PROJECT)/labeler/labeler:$(COMMIT_SHA)
76

87
.PHONY: build push deploy
98

0 commit comments

Comments
 (0)