fup-try-013

This commit is contained in:
Philippe Caseiro 2023-06-19 16:34:52 +02:00
parent 117c8b6550
commit e1353419e8
2 changed files with 1 additions and 8 deletions

7
Jenkinsfile vendored
View File

@ -20,13 +20,6 @@ symfonyAppPipeline('ubuntu:22.04', [
'dockerfile': './misc/images/myapplication-standalone/Dockerfile',
'dryRun': false
])
kubecontainer.buildAndPublishImage([
'imageName': 'reg.cadoles.com/pcaseiro/myapplication-kube',
// Use current tag or default tag if not defined
'imageTag': defaultTag,
'dockerfile': './misc/images/myapplication-kube/Dockerfile',
'dryRun': false
])
}
}
]

View File

@ -3,7 +3,7 @@
################################
COMMIT_ID ?= $(shell git rev-parse --short --verify HEAD)
CURRENT_BRANCH = $(shell git rev-parse --abbrev-ref HEAD | tr -c '[:alnum:]\n\r' '_'| tr '[:upper:]' '[:lower:]')
CURRENT_BRANCH ?= $(shell git rev-parse --abbrev-ref HEAD | tr -c '[:alnum:]\n\r' '_'| tr '[:upper:]' '[:lower:]')
IMAGE_REPO ?= reg.cadoles.com/cadoles
IMAGE_VERSION ?= 0.0.1-$(CURRENT_BRANCH)