You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/reusable-delete-docker.yml
+24-4Lines changed: 24 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ on:
13
13
required: true
14
14
15
15
jobs:
16
-
delete-docker:
16
+
delete-zetta-docker:
17
17
name: Execute delete docker image
18
18
runs-on: ubuntu-22.04
19
19
steps:
@@ -23,11 +23,31 @@ jobs:
23
23
- name: Validate task name
24
24
if: ${{ !startsWith(inputs.task, 'TASK') }}
25
25
run: |
26
-
echo "Error: Can't delete ${{ inputs.task }}. Only Docker images related to TASK branches can be deleted"
27
-
exit 1
26
+
echo "Warning: Zettagenomics DockerHub Can't delete ${{ inputs.task }}. Only Docker images related to TASK branches can be deleted"
27
+
echo "Warning: Zettagenomics DockerHub Can't delete ${{ inputs.task }}. Only Docker images related to TASK branches can be deleted" | tee -a $GITHUB_STEP_SUMMARY
echo "Warning: Opencb DockerHub Can't delete ${{ inputs.task }}. Only Docker images related to TASK branches can be deleted"
47
+
echo "Warning: Opencb DockerHub Can't delete ${{ inputs.task }}. Only Docker images related to TASK branches can be deleted" | tee -a $GITHUB_STEP_SUMMARY
0 commit comments