Skip to content

Commit

Permalink
Short tag
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-pickin-epi committed Jul 24, 2024
1 parent e09448e commit df2c7a1
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
REPO=293385631482.dkr.ecr.eu-west-1.amazonaws.com
STORE=epimorphics
IMAGE=sensu-alertmanager
VERSION?= $(shell git describe --tags)
TAG?= $(shell git describe --tags `git rev-list --tags --max-count=1`)
NAME?=${STORE}/${IMAGE}
COMMIT=$(shell git rev-parse --short HEAD)
TAG?=$(shell printf '%s_%s_%08d' ${VERSION} ${COMMIT} ${GITHUB_RUN_NUMBER})

default: image
all: publish
Expand All @@ -24,6 +22,4 @@ tag:
vars:
@echo TAG:${TAG}
@echo NAME:${NAME}
@echo VERSION:${VERSION}
@echo COMMIT:${COMMIT}
@echo IMAGE:${IMAGE}

0 comments on commit df2c7a1

Please sign in to comment.