mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 09:35:42 -04:00
ci: update env.IMAGE_NAME
This commit is contained in:
10
.github/workflows/deploy-docker-github.yml
vendored
10
.github/workflows/deploy-docker-github.yml
vendored
@@ -239,7 +239,7 @@ jobs:
|
|||||||
echo "NOW_SHORT=$(date +'%m-%d-%Y')" >> $GITHUB_ENV
|
echo "NOW_SHORT=$(date +'%m-%d-%Y')" >> $GITHUB_ENV
|
||||||
echo "NOW_LONG=$(date +'%m-%d-%Y %H:%M')" >> $GITHUB_ENV
|
echo "NOW_LONG=$(date +'%m-%d-%Y %H:%M')" >> $GITHUB_ENV
|
||||||
echo "NOW_DOCKER_LABEL=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
echo "NOW_DOCKER_LABEL=$(date +'%Y%m%d')" >> $GITHUB_ENV
|
||||||
echo "REPO=${GITHUB_REPOSITORY@L}" >> $GITHUB_ENV
|
echo "IMAGE_NAME=`echo ${{github.repository}} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release › Github › Checkout › Arm64
|
# Release › Github › Checkout › Arm64
|
||||||
@@ -370,7 +370,7 @@ jobs:
|
|||||||
echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}"
|
echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}"
|
||||||
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
|
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
|
||||||
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
|
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
|
||||||
echo "repo ................. ${{ env.REPO }}"
|
echo "repo ................. ${{ env.IMAGE_NAME }}"
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release › Github › Build and Push › Arm64
|
# Release › Github › Build and Push › Arm64
|
||||||
@@ -422,7 +422,7 @@ jobs:
|
|||||||
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
|
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
|
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
|
||||||
- Pull: `docker pull ghcr.io/${{ env.REPO }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64`
|
- Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-arm64`
|
||||||
- Dry Run: `${{ inputs.DRY_RUN }}`
|
- Dry Run: `${{ inputs.DRY_RUN }}`
|
||||||
- Source: `Github` https://github.com/${{ github.repository }}
|
- Source: `Github` https://github.com/${{ github.repository }}
|
||||||
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
|
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
|
||||||
@@ -623,7 +623,7 @@ jobs:
|
|||||||
echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}"
|
echo "env.AUTHOR ........... ${{ env.IMAGE_GHCR_AUTHOR }}"
|
||||||
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
|
echo "tags ................. ${{ steps.task_release_gh_meta.outputs.tags }}"
|
||||||
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
|
echo "labels ............... ${{ steps.task_release_gh_meta.outputs.labels }}"
|
||||||
echo "repo ................. ${{ env.REPO }}"
|
echo "repo ................. ${{ env.IMAGE_NAME }}"
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release › Github › Build and Push › Amd64
|
# Release › Github › Build and Push › Amd64
|
||||||
@@ -674,7 +674,7 @@ jobs:
|
|||||||
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
|
- https://github.com/${{ github.repository }}/pkgs/container/${{ env.IMAGE_NAME }}
|
||||||
|
|
||||||
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
|
- Release Type: `${{ inputs.DEV_RELEASE == true && '⚠️⚠️ Development / Pre-release ⚠️⚠️' || 'Stable' }}`
|
||||||
- Pull: `docker pull ghcr.io/${{ env.REPO }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64`
|
- Pull: `docker pull ghcr.io/${{ env.IMAGE_NAME }}:${{ inputs.DEV_RELEASE == true && 'development' || env.IMAGE_VERSION }}-amd64`
|
||||||
- Dry Run: `${{ inputs.DRY_RUN }}`
|
- Dry Run: `${{ inputs.DRY_RUN }}`
|
||||||
- Source: `Github` https://github.com/${{ github.repository }}
|
- Source: `Github` https://github.com/${{ github.repository }}
|
||||||
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
|
- Docker Image: `${{ env.IMAGE_NAME }}-${{ env.IMAGE_VERSION }}${{ inputs.DEV_RELEASE == true && '-development' || '' }}`
|
||||||
|
|||||||
Reference in New Issue
Block a user