output image ref
This commit is contained in:
parent
e5e852cdd1
commit
9189325b9e
@ -30,6 +30,9 @@ outputs:
|
|||||||
image_version:
|
image_version:
|
||||||
description: "Image version"
|
description: "Image version"
|
||||||
value: ${{ steps.git.outputs.short_hash }}
|
value: ${{ steps.git.outputs.short_hash }}
|
||||||
|
image_ref:
|
||||||
|
description: "Image ref"
|
||||||
|
value: ${{ steps.image.outputs.version }}
|
||||||
runs:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
@ -46,7 +49,7 @@ runs:
|
|||||||
shell: sh
|
shell: sh
|
||||||
- name: Store image version
|
- name: Store image version
|
||||||
id: image
|
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
|
shell: sh
|
||||||
- name: Build additional args (version etc.)
|
- name: Build additional args (version etc.)
|
||||||
id: additional_args
|
id: additional_args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user