ci: update deploy workflows to show stable or pre-release build

This commit is contained in:
2025-02-23 17:50:39 -07:00
parent 81e491f854
commit e66e26584c
4 changed files with 52 additions and 8 deletions

View File

@@ -348,6 +348,7 @@ jobs:
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.vendor=${{ env.IMAGE_GHCR_AUTHOR }}
org.opencontainers.image.ref.name=${{ env.ref_name }}
org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'yes' || 'no' }}
# #
# Release Github Checkpoint Arm64
@@ -410,10 +411,13 @@ jobs:
embed-thumbnail-url: 'https://i.imgur.com/zDIzE8T.jpg'
embed-description: |
## 📦 Docker Deploy ${{ job.status == 'success' && '✅' || '❌' }} `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
${{ inputs.DEV_RELEASE == true && '### ⚠️⚠️ Pre-release / Development Version' || '' }}
A new version of the docker container `${{ env.IMAGE_NAME }}` has been released from Github. The image is available at:
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
- Dry Run: `${{ inputs.DRY_RUN }}`
- Source: `Github` https://github.com/${{ github.repository }}
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
- Version: `${{ env.IMAGE_VERSION }}`
@@ -591,6 +595,7 @@ jobs:
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.vendor=${{ env.IMAGE_GHCR_AUTHOR }}
org.opencontainers.image.ref.name=${{ env.ref_name }}
org.opencontainers.image.development=${{ inputs.DEV_RELEASE == true && 'yes' || 'no' }}
# #
# Release Github Checkpoint Amd64
@@ -652,10 +657,13 @@ jobs:
embed-thumbnail-url: 'https://i.imgur.com/zDIzE8T.jpg'
embed-description: |
## 📦 Docker Deploy ${{ job.status == 'success' && '✅' || '❌' }} `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
${{ inputs.DEV_RELEASE == true && '### ⚠️⚠️ Pre-release / Development Version' || '' }}
A new version of the docker container `${{ env.IMAGE_NAME }}` has been released from Github. The image is available at:
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
- Dry Run: `${{ inputs.DRY_RUN }}`
- Source: `Github` https://github.com/${{ github.repository }}
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}`
- Version: `${{ env.IMAGE_VERSION }}`