ci: cleanup

This commit is contained in:
Stefan Reimer 2022-01-19 00:30:53 +01:00
parent 87570569f0
commit dc319af0f1

View File

@ -3,7 +3,7 @@ REPOSITORY := fuse-device-plugin
REGION := us-east-1
# Parse version from latest git semver tag
GTAG=$(shell git describe --tags --match v*.*.* 2>/dev/null || git rev-parse --short HEAD 2>/dev/null || echo "unknown")
GTAG=$(shell git describe --tags --match v*.*.* 2>/dev/null || git rev-parse --short HEAD 2>/dev/null)
TAG ?= $(shell echo $(GTAG) | awk -F '-' '{ print $$1 "-" $$2 }' | sed -e 's/-$$//')
ifeq ($(TRIVY_REMOTE),)