From 6593a8e324d5403aeb910f7424314cd896ae05fb Mon Sep 17 00:00:00 2001 From: Charles GTE Date: Fri, 6 Mar 2026 21:47:00 +0100 Subject: [PATCH] fix: workflow * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix --------- Co-authored-by: charlesgauthereau --- .github/workflows/docker.yml | 17 +++++++++-------- .github/workflows/release.yml | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c521bc08..15e95c6b 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -132,27 +132,28 @@ jobs: run: | VERSION="${{ inputs.version }}" IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION" - - TAGS="$VERSION" + + echo "VERSION_TAG=$VERSION" >> $GITHUB_OUTPUT if [ -n "$MINOR" ]; then - TAGS="$TAGS $MAJOR.$MINOR" + echo "MINOR_TAG=$MAJOR.$MINOR" >> $GITHUB_OUTPUT fi if [ -n "$MAJOR" ]; then - TAGS="$TAGS $MAJOR" + echo "MAJOR_TAG=$MAJOR" >> $GITHUB_OUTPUT fi if [ "${{ inputs.add_latest }}" = "true" ]; then - TAGS="$TAGS latest" + echo "LATEST_TAG=latest" >> $GITHUB_OUTPUT fi - echo "tags=$TAGS" >> $GITHUB_OUTPUT - - name: Extract Docker metadata id: meta uses: docker/metadata-action@v5 with: images: ${{ inputs.image_name }} tags: | - type=raw,value=${{ steps.tags.outputs.tags }} + type=raw,value=${{ steps.tags.outputs.VERSION_TAG }} + type=raw,value=${{ steps.tags.outputs.MINOR_TAG }} + type=raw,value=${{ steps.tags.outputs.MAJOR_TAG }} + type=raw,value=${{ steps.tags.outputs.LATEST_TAG }} - name: Create and push manifest list working-directory: /tmp/digests diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 241c3831..3e97e3dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -120,7 +120,7 @@ jobs: - finalize-release uses: ./.github/workflows/discord.yml with: - release_tag: ${{ needs.create-release.outputs.draft_tag }} + release_tag: ${{ needs.create-release.outputs.version }} discord_title: "New Release" discord_color: 3066993 discord_footer: "Portabase"