mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 06:45:41 -04:00
ci: update deployment workflow to clean up untagged docker images
This commit is contained in:
6
.github/workflows/deploy-docker-all.yml
vendored
6
.github/workflows/deploy-docker-all.yml
vendored
@@ -505,6 +505,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
@@ -859,6 +861,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
@@ -1271,6 +1275,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
|
|||||||
@@ -436,6 +436,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
|
|||||||
2
.github/workflows/deploy-docker-gitea.yml
vendored
2
.github/workflows/deploy-docker-gitea.yml
vendored
@@ -513,6 +513,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
|
|||||||
55
.github/workflows/deploy-docker-giteacom.yml
vendored
55
.github/workflows/deploy-docker-giteacom.yml
vendored
@@ -400,19 +400,21 @@ jobs:
|
|||||||
- name: '⚠️ Checkpoint'
|
- name: '⚠️ Checkpoint'
|
||||||
id: task_release_gi_checkpoint
|
id: task_release_gi_checkpoint
|
||||||
run: |
|
run: |
|
||||||
echo "registry ............. Gitea"
|
echo "registry ................................. Gitea"
|
||||||
echo "github.actor.......... ${{ github.actor }}"
|
echo "github.actor.............................. ${{ github.actor }}"
|
||||||
echo "github.ref ........... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name ...... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name .... ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
echo "inputs.DRY_RUN ....... ${{ inputs.DRY_RUN }}"
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
echo "env.AUTHOR ........... ${{ env.IMAGE_GITEA_AUTHOR }}"
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo "tags ................. ${{ steps.task_release_gi_meta.outputs.tags }}"
|
echo "inputs.DRY_RUN ........................... ${{ inputs.DRY_RUN }}"
|
||||||
echo "labels ............... ${{ steps.task_release_gi_meta.outputs.labels }}"
|
echo "env.AUTHOR ............................... ${{ env.IMAGE_GITEA_AUTHOR }}"
|
||||||
echo "docker image ......... ${{ env.REGISTRY_REPO_ORG_AUTHOR_LC }}"
|
echo "tags ..................................... ${{ steps.task_release_gi_meta.outputs.tags }}"
|
||||||
echo "docker sha ........... ${{ env.DOCKER_SHA }}"
|
echo "labels ................................... ${{ steps.task_release_gi_meta.outputs.labels }}"
|
||||||
echo "docker image id ...... ${{ steps.task_release_gi_push.outputs.imageid }}"
|
echo "docker image ............................. ${{ env.REGISTRY_REPO_ORG_AUTHOR_LC }}"
|
||||||
echo "docker digest ........ ${{ steps.task_release_gi_push.outputs.digest }}"
|
echo "docker sha ............................... ${{ env.DOCKER_SHA }}"
|
||||||
|
echo "docker image id .......................... ${{ steps.task_release_gi_push.outputs.imageid }}"
|
||||||
|
echo "docker digest ............................ ${{ steps.task_release_gi_push.outputs.digest }}"
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release › Gitea › Get Weekly Commits
|
# Release › Gitea › Get Weekly Commits
|
||||||
@@ -666,18 +668,21 @@ jobs:
|
|||||||
- name: '⚠️ Checkpoint'
|
- name: '⚠️ Checkpoint'
|
||||||
id: task_release_gi_checkpoint
|
id: task_release_gi_checkpoint
|
||||||
run: |
|
run: |
|
||||||
echo "registry ............. Gitea"
|
echo "registry ................................. Gitea"
|
||||||
echo "github.actor.......... ${{ github.actor }}"
|
echo "github.actor.............................. ${{ github.actor }}"
|
||||||
echo "github.ref ........... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name ...... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name .... ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
echo "inputs.DRY_RUN ....... ${{ inputs.DRY_RUN }}"
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
echo "env.AUTHOR ........... ${{ env.IMAGE_GITEA_AUTHOR }}"
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo "tags ................. ${{ steps.task_release_gi_meta.outputs.tags }}"
|
echo "inputs.DRY_RUN ........................... ${{ inputs.DRY_RUN }}"
|
||||||
echo "labels ............... ${{ steps.task_release_gi_meta.outputs.labels }}"
|
echo "env.AUTHOR ............................... ${{ env.IMAGE_GITEA_AUTHOR }}"
|
||||||
echo "docker sha ........... ${{ env.DOCKER_SHA }}"
|
echo "tags ..................................... ${{ steps.task_release_gi_meta.outputs.tags }}"
|
||||||
echo "docker image id ...... ${{ steps.task_release_gi_push.outputs.imageid }}"
|
echo "labels ................................... ${{ steps.task_release_gi_meta.outputs.labels }}"
|
||||||
echo "docker digest ........ ${{ steps.task_release_gi_push.outputs.digest }}"
|
echo "docker image ............................. ${{ env.REGISTRY_REPO_ORG_AUTHOR_LC }}"
|
||||||
|
echo "docker sha ............................... ${{ env.DOCKER_SHA }}"
|
||||||
|
echo "docker image id .......................... ${{ steps.task_release_gi_push.outputs.imageid }}"
|
||||||
|
echo "docker digest ............................ ${{ steps.task_release_gi_push.outputs.digest }}"
|
||||||
|
|
||||||
# #
|
# #
|
||||||
# Release › Gitea › Get Weekly Commits
|
# Release › Gitea › Get Weekly Commits
|
||||||
|
|||||||
2
.github/workflows/deploy-docker-github.yml
vendored
2
.github/workflows/deploy-docker-github.yml
vendored
@@ -440,6 +440,8 @@ jobs:
|
|||||||
echo "github.ref ............................... ${{ github.ref }}"
|
echo "github.ref ............................... ${{ github.ref }}"
|
||||||
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
echo "github.ref_name .......................... ${{ github.ref_name }}"
|
||||||
echo "github.event_name ........................ ${{ github.event_name }}"
|
echo "github.event_name ........................ ${{ github.event_name }}"
|
||||||
|
echo "github.repository_owner .................. ${{ github.repository_owner }}"
|
||||||
|
echo "github.repository ........................ ${{ github.repository }}"
|
||||||
echo ""
|
echo ""
|
||||||
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
echo "[ INPUTS ] ---------------------------------------------------------------------------------------------"
|
||||||
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
echo "inputs.IMAGE_NAME ........................ ${{ inputs.IMAGE_NAME }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user