From 1449fad377f4446012f955e51b7e5d3c383f22e0 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sat, 17 Jan 2026 15:30:18 +0100 Subject: [PATCH] Actualiser action.yaml --- action.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yaml b/action.yaml index 1dcbf7f..80f730c 100644 --- a/action.yaml +++ b/action.yaml @@ -84,7 +84,11 @@ runs: nocache="" fi - if ${{ inputs.build_command }} build ${nocache} --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t ${image} . ; then + annotation=$(buildAnnotations "Dockerfile") + + debug "Generated annotations: $annotations" + + if ${{ inputs.build_command }} build ${annotations} ${nocache} --build-arg BUILD_DATE="$(date -u +'%Y-%m-%dT%H:%M:%SZ')" -t ${image} . ; then success "Image build" "${{ inputs.image_name }}" else error "Failed" "Cannot built the image ${{ inputs.image_name }}"