mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix
This commit is contained in:
@@ -132,27 +132,28 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VERSION="${{ inputs.version }}"
|
VERSION="${{ inputs.version }}"
|
||||||
IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION"
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$VERSION"
|
||||||
|
|
||||||
TAGS="$VERSION"
|
echo "VERSION_TAG=$VERSION" >> $GITHUB_OUTPUT
|
||||||
if [ -n "$MINOR" ]; then
|
if [ -n "$MINOR" ]; then
|
||||||
TAGS="$TAGS $MAJOR.$MINOR"
|
echo "MINOR_TAG=$MAJOR.$MINOR" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ -n "$MAJOR" ]; then
|
if [ -n "$MAJOR" ]; then
|
||||||
TAGS="$TAGS $MAJOR"
|
echo "MAJOR_TAG=$MAJOR" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
if [ "${{ inputs.add_latest }}" = "true" ]; then
|
if [ "${{ inputs.add_latest }}" = "true" ]; then
|
||||||
TAGS="$TAGS latest"
|
echo "LATEST_TAG=latest" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "tags=$TAGS" >> $GITHUB_OUTPUT
|
|
||||||
|
|
||||||
- name: Extract Docker metadata
|
- name: Extract Docker metadata
|
||||||
id: meta
|
id: meta
|
||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
images: ${{ inputs.image_name }}
|
images: ${{ inputs.image_name }}
|
||||||
tags: |
|
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
|
- name: Create and push manifest list
|
||||||
working-directory: /tmp/digests
|
working-directory: /tmp/digests
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ jobs:
|
|||||||
- finalize-release
|
- finalize-release
|
||||||
uses: ./.github/workflows/discord.yml
|
uses: ./.github/workflows/discord.yml
|
||||||
with:
|
with:
|
||||||
release_tag: ${{ needs.create-release.outputs.draft_tag }}
|
release_tag: ${{ needs.create-release.outputs.version }}
|
||||||
discord_title: "New Release"
|
discord_title: "New Release"
|
||||||
discord_color: 3066993
|
discord_color: 3066993
|
||||||
discord_footer: "Portabase"
|
discord_footer: "Portabase"
|
||||||
|
|||||||
Reference in New Issue
Block a user