Skip to content

Commit

Permalink
replace remaining ubuntu with system to fix non updating alpine / deb…
Browse files Browse the repository at this point in the history
…ian tags
  • Loading branch information
SciLor committed Sep 20, 2024
1 parent a2ba1c0 commit 1eaf5b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_docker_matrix_base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ jobs:
type=match,pattern=tc_v(\d+.\d+.\d+-\S+),group=1
flavor: |
prefix=arch_,onlatest=true
suffix=_${{ matrix.platform }}_ubuntu,onlatest=${{ inputs.primary_image }}
suffix=_${{ matrix.platform }}_${{ inputs.system }},onlatest=${{ inputs.primary_image }}
- name: Modify tags
id: modify_tags
if: ${{ inputs.primary_image }}
run: |
original_tags=$(jq -cr '.tags | map(.) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON")
modified_tags=$(echo "$original_tags" | sed 's/_ubuntu//')
modified_tags=$(echo "$original_tags" | sed 's/_${{ inputs.system }}//')
all_tags="$original_tags $modified_tags"
echo "all_tags=$all_tags"
echo "all_tags=$all_tags" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit 1eaf5b6

Please sign in to comment.