Only tag ":perl" versions for focal jammy and lunar. But ":perl-ubuntu" can be whatever.

This commit is contained in:
Greyscale 2024-02-20 19:56:44 +01:00
parent 084902c185
commit 055c9ef1cb
No known key found for this signature in database
GPG key ID: 74BAFF55434DA4B2

View file

@ -81,7 +81,7 @@ jobs:
run: |
echo "perl_version=$(docker run --rm ghcr.io/benzine-framework/perl:${{ matrix.ubuntu }} perl -v | grep "This is perl" | cut -d'(' -f2 | cut -d')' -f1 | sed 's/[^0-9.]*//g')" >> $GITHUB_OUTPUT
- name: "Retag build with perl version (${{ steps.perl_version.outputs.perl_version })"
- name: "Retag build with perl version (${{ steps.perl_version.outputs.perl_version }})"
if: ${{ matrix.ubuntu == 'focal' || matrix.ubuntu == 'jammy' || matrix.ubuntu == 'lunar' }}
run: |
docker tag ghcr.io/benzine-framework/perl:${{ matrix.ubuntu }} ghcr.io/benzine-framework/perl:${{ steps.perl_version.outputs.perl_version }}