diff --git a/action.yml b/action.yml index 582e810..560bf5f 100644 --- a/action.yml +++ b/action.yml @@ -30,6 +30,9 @@ outputs: image_version: description: "Image version" value: ${{ steps.git.outputs.short_hash }} + image_ref: + description: "Image ref" + value: ${{ steps.image.outputs.version }} runs: using: "composite" steps: @@ -46,7 +49,7 @@ runs: shell: sh - name: Store image version id: image - run: echo "::set-output name=version::${{ inputs.image_name }}:${{inputs.docker_version_prefix}}-${{ steps.git.outputs.short_hash }}" + run: echo "::set-output name=version::'${{ inputs.image_name }}:${{inputs.docker_version_prefix}}-${{ steps.git.outputs.short_hash }}'" shell: sh - name: Build additional args (version etc.) id: additional_args