From 3f263f87f1e775acd6c89bcfc77c1a59b76d6236 Mon Sep 17 00:00:00 2001 From: Francia Csaba Date: Thu, 18 Jan 2024 13:29:15 +0100 Subject: [PATCH] #13 Test build with multiple tags --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index df134bc..2cf7339 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -18,7 +18,8 @@ pipeline { echo 'Building image' script { docker.build("${OWNER}/${IMAGE_NAME}:${TAG}", - "--build-arg='PACKAGE_REGISTRY_URL=${PLUGINS_REPO_URL}' --build-arg='PLUGINS=${PLUGINS}' --secret id=AMARILLO_REGISTRY_CREDENTIALS,env=GITEA_CREDS .") + //--no-cache to make sure plugins are updated + "${OWNER}/${IMAGE_NAME}:latest --no-cache --build-arg='PACKAGE_REGISTRY_URL=${PLUGINS_REPO_URL}' --build-arg='PLUGINS=${PLUGINS}' --secret id=AMARILLO_REGISTRY_CREDENTIALS,env=GITEA_CREDS .") } } }