From 270b84abe26a63443b2b00d04717fb116a17381f Mon Sep 17 00:00:00 2001 From: Jonathan Hawk Date: Fri, 19 Apr 2024 12:04:07 -0400 Subject: [PATCH] chore(ci): enable full image version --- .github/workflows/release.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9ca280..a9d762c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -90,6 +90,13 @@ jobs: - "3.17" steps: + - name: Prepare + env: + ALPINE_VERSION: ${{ matrix.alpine_version }} + run: | + alpine_full_version=$(docker run --rm alpine:$ALPINE_VERSION cat /etc/os-release | grep VERSION_ID | cut -d'=' -f2) + echo "ALPINE_FULL_VERSION=$alpine_full_version" >> $GITHUB_ENV + - name: Download digests uses: actions/download-artifact@v4 with: @@ -105,9 +112,10 @@ jobs: uses: docker/metadata-action@v5 with: images: ${{ env.REGISTRY_IMAGE }} - # type=raw,value=latest,enabled=${{ matrix.alpine_version == '3.19' }} tags: | + type=raw,value=latest,enabled=${{ matrix.alpine_version == '3.19' }} type=raw,value=${{ env.IMAGE_VERSION }}-alpine-${{ matrix.alpine_version }} + type=raw,value=${{ env.IMAGE_VERSION }}-alpine-${{ env.ALPINE_FULL_VERSION }} - name: Login to Docker Hub uses: docker/login-action@v3