File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22phony : help
33
44# Release tag for the action - use environment variable or fall back to latest git tag
5- VERSION := $(or $(VERSION ) ,$(shell git describe --tags --abbrev=0 2>/dev/null || echo "v0.11.1" ) )
5+ VERSION := $(or $(VERSION ) ,$(shell git describe --tags --abbrev=0 2>/dev/null) )
66
77# GitHub Actions bogus variables
88GITHUB_REF ?= refs/heads/null
@@ -12,13 +12,12 @@ VERSION_PREFIX ?=
1212# Other variables and constants
1313CURRENT_BRANCH := $(shell echo $(GITHUB_REF ) | sed 's/refs\/heads\///')
1414GITHUB_SHORT_SHA := $(shell echo $(GITHUB_SHA ) | cut -c1-7)
15- RELEASE_BRANCH := master
1615DOCKER_USERNAME := $(or $(DOCKER_USERNAME ) ,christophshyper)
1716DOCKER_ORG_NAME := $(or $(DOCKER_ORG_NAME ) ,devopsinfra)
1817DOCKER_IMAGE := action-commit-push
1918DOCKER_NAME := $(DOCKER_ORG_NAME ) /$(DOCKER_IMAGE )
2019GITHUB_USERNAME := $(or $(GITHUB_USERNAME ) ,ChristophShyper)
21- GITHUB_ORG_NAME := devops-infra
20+ GITHUB_ORG_NAME := $( or $( GITHUB_ORG_NAME ) , devops-infra)
2221GITHUB_NAME := ghcr.io/$(GITHUB_ORG_NAME ) /$(DOCKER_IMAGE )
2322BUILD_DATE := $(shell date -u +"% Y-% m-% dT% H:% M:% SZ")
2423
You can’t perform that action at this time.
0 commit comments