generated from pmo-actions/healthchecks-ping
Actualiser action.yaml
This commit is contained in:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user