output image ref
This commit is contained in:
parent
e5e852cdd1
commit
9189325b9e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user