Skip to content

Commit bb29377

Browse files
committed
ci: update workflow
1 parent 782ed20 commit bb29377

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/deploy-docker-github.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ jobs:
371371
with:
372372
tag: "${{ env.IMAGE_VERSION }}"
373373
tag_exists_error: false
374-
message: '${{ env.IMAGE_DISTRO }}-${{ env.IMAGE_VERSION }}'
374+
message: '${{ env.IMAGE_NAME }}-${{ env.IMAGE_DISTRO }}:${{ env.IMAGE_VERSION }}'
375375
gpg_private_key: ${{ secrets.ADMINSERV_GPG_KEY_ASC }}
376376
gpg_passphrase: ${{ secrets.ADMINSERV_GPG_PASSPHRASE }}
377377

@@ -523,7 +523,7 @@ jobs:
523523

524524
- name: '🕛 Set Vars'
525525
run: |
526-
echo "REGISTRY_REPO_ORG_AUTHOR_LC=`echo ${{ env.IMAGE_GHCR_AUTHOR }}/${{ env.IMAGE_DISTRO }} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} # aetherinox/docker-base-ubuntu
526+
echo "REGISTRY_REPO_ORG_AUTHOR_LC=`echo ${{ env.IMAGE_GHCR_AUTHOR }}/${{ env.IMAGE_NAME }} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} # aetherinox/docker-base-ubuntu
527527
echo "REGISTRY_REPO_AUTHOR_LC=`echo ${{ env.IMAGE_GHCR_AUTHOR }} | tr '[:upper:]' '[:lower:]'`" >> ${GITHUB_ENV} # aetherinox
528528
529529
# #
@@ -627,7 +627,7 @@ jobs:
627627
uses: docker/metadata-action@v5
628628
with:
629629
images: |
630-
ghcr.io/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_DISTRO }}
630+
ghcr.io/${{ env.REGISTRY_REPO_AUTHOR_LC }}/${{ env.IMAGE_NAME }}
631631
tags: |
632632
# tag latest = yes ( no dev )
633633
type=raw,value=latest,enable=${{ !inputs.DEV_RELEASE }}
@@ -967,11 +967,11 @@ jobs:
967967
embed-url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
968968
embed-thumbnail-url: ${{ env.DISCORD_BOT_EMBED_THUMBNAIL }}
969969
embed-description: |
970-
### 📦 ᲼Deploy (${{ env.IMAGE_REGISTRY }}) ᲼${{ job.status == 'success' && '✅' || '❌' }}᲼ › `${{ env.IMAGE_DISTRO }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
970+
### 📦 ᲼Deploy (${{ env.IMAGE_REGISTRY }}) ᲼${{ job.status == 'success' && '✅' || '❌' }}᲼ › `${{ env.IMAGE_NAME }}-${{ env.IMAGE_DISTRO }}:${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
971971
${{ inputs.DEV_RELEASE == true && '### ⚠️⚠️ Development / Pre-release ⚠️⚠️' || '' }}
972972
973-
A new version of the docker container `${{ env.IMAGE_DISTRO }}` has been released from Github to ${{ env.IMAGE_REGISTRY }} GHCR. The image is available at:
974-
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_DISTRO }}
973+
A new version of the docker container `${{ env.IMAGE_NAME }}-${{ env.IMAGE_DISTRO }}` has been released from Github to ${{ env.IMAGE_REGISTRY }} GHCR. The image is available at:
974+
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
975975
976976
- Version: `${{ env.IMAGE_VERSION }}`
977977
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
@@ -980,7 +980,7 @@ jobs:
980980
- Pull (arm64): `docker pull ghcr.io/${{ env.REGISTRY_REPO_ORG_AUTHOR_LC }}@${{ steps.task_release_gh_push_arm64.outputs.digest }}`
981981
- Dry Run: `${{ inputs.DRY_RUN }}`
982982
- Source: `${{ env.IMAGE_REGISTRY }}` https://github.com/${{ github.repository }}
983-
- Docker Image: `${{ env.IMAGE_DISTRO }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
983+
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_DISTRO }}:${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
984984
- Branch: `${{ github.ref_name }}`
985985
- Workflow: `${{ github.workflow }} (#${{github.run_number}})`
986986
- Runner: `${{ runner.name }}`

0 commit comments

Comments
 (0)