With multibranch JOB_NAME isn't repo's name

This commit is contained in:
Ben 2023-01-29 09:06:02 +01:00
parent dc51c6944d
commit a883bb99f1

View File

@ -12,8 +12,8 @@ def restoreMTime() {
pipeline {
agent any
environment {
DOCKER_GIT_TAG="$AWS_ECR_URL/$JOB_BASE_NAME:${GIT_COMMIT.substring(0,8)}"
DOCKER_LATEST_TAG="$AWS_ECR_URL/$JOB_BASE_NAME:latest"
DOCKER_GIT_TAG="$AWS_ECR_URL/web3-proxy:${GIT_COMMIT.substring(0,8)}"
DOCKER_LATEST_TAG="$AWS_ECR_URL/web3-proxy:latest"
DOCKER_BUILDKIT=1
}
stages {