Update manual-build.yml

This commit is contained in:
Kamil Kosek
2024-12-10 17:27:17 +01:00
committed by GitHub
parent 11bd25e5be
commit 3862730203

View File

@@ -32,7 +32,7 @@ jobs:
- name: Extract Version
id: extract_version
run: |
version=$(python3 -c "import version; print(f'${{ env.BRANCH_NAME}}-{version.__version__}')")
version=$(python3 -c "import version; print(f'${version.__version__}')")
echo "VERSION=$version" >> $GITHUB_ENV
- name: Read Changelog
@@ -68,17 +68,19 @@ jobs:
push: true
tags: |
ghcr.io/${{ github.repository }}:${{ env.COMMIT_SHA }}
ghcr.io/${{ github.repository }}:dev
ghcr.io/${{ github.repository }}:${{ env.VERSION }}
ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }}
ghcr.io/${{ github.repository }}:${{ env.BRANCH_NAME }}-${{ env.VERSION }}
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ env.VERSION }}
name: Dev Release ${{ env.VERSION }}
tag_name: |
${{ env.BRANCH_NAME }}-${{ env.VERSION }}
name: |
${{ env.BRANCH_NAME }} Release ${{ env.VERSION }}
body: |
${{ env.CHANGELOG_CONTENT }}
generate_release_notes: true
make_latest: false