From a383224ab7c2948fb1aceb6efac10b57066cb6fc Mon Sep 17 00:00:00 2001 From: spassignat Date: Sat, 2 May 2026 12:07:02 +0200 Subject: [PATCH] patch: test 20 --- .woodpecker/build-pipeline.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.woodpecker/build-pipeline.yml b/.woodpecker/build-pipeline.yml index d03bb80..f9fe18e 100644 --- a/.woodpecker/build-pipeline.yml +++ b/.woodpecker/build-pipeline.yml @@ -7,6 +7,7 @@ when: variables: - &node_image node:18-alpine - &git_image alpine/git + - &curl_image curlimages/curl:latest steps: # Étape 1: Nettoyage du projet, à ajuster @@ -17,7 +18,7 @@ steps: rm -f $CI_WORKSPACE/version.env - name: prepare - image: *git_image + image: *curl_image commands: | # Récupérer le message du commit COMMIT_MSG=$(git log -1 --pretty=%B) @@ -74,7 +75,7 @@ steps: # Étape 6: Package des artefacts - name: package - image: *node_image + image: *curl_image commands: | more $CI_WORKSPACE/version.env source $CI_WORKSPACE/version.env @@ -92,7 +93,7 @@ steps: depends_on: [ build ] - name: publish - image: curlimages/curl:latest + image: *curl_image environment: NEXUS_USERNAME: from_secret: nexus_username @@ -101,7 +102,7 @@ steps: commands: | source $CI_WORKSPACE/version.env echo "📦 Publication de la version $NEW_VERSION : $artifact" - ls -als ${CI_WORKSPACE}/artifacts/$artifact + ls -alsR ${CI_WORKSPACE}/artifacts curl -v \ -u ${NEXUS_USERNAME}:${NEXUS_PASSWORD} \