Skip to content

Commit 3ea4254

Browse files
authored
Fix incorrect version-suffixed tags of Python images (#331)
1 parent f5d4659 commit 3ea4254

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/reuseable-builder.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ jobs:
6565
shell: bash
6666
run: |
6767
if [[ "${{ github.event_name }}" == "release" ]]; then
68-
BUILD_ARGS="--additional-tag ${{ inputs.version }}-${{ github.event.release.tag_name }}"
68+
if [[ -n "${{ inputs.python }}" ]]; then
69+
BUILD_ARGS="--additional-tag ${{ inputs.python }}-alpine${{ inputs.version }}-${{ github.event.release.tag_name }}"
70+
else
71+
BUILD_ARGS="--additional-tag ${{ inputs.version }}-${{ github.event.release.tag_name }}"
72+
fi
6973
if [[ "${{ inputs.tag_latest }}" != "${{ inputs.version }}" ]] \
7074
|| [[ -n "${{ inputs.python }}" && "${{ inputs.python_latest }}" != "${{ inputs.python }}" ]];
7175
then

0 commit comments

Comments
 (0)