Skip to content

Commit 9e5b70a

Browse files
committed
Run tagging after cleanup
Signed-off-by: Samuel Monson <[email protected]>
1 parent 0ab183b commit 9e5b70a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/container-maintenance.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
- cron: '0 2 * * 3' # Runs at 2am on Wednesdays
66
workflow_dispatch: # Enables manual triggering of the workflow
77

8+
# Only run one at a time
9+
concurrency:
10+
group: ${{ github.workflow }}
11+
812
jobs:
913
cleanup-container-tags:
1014
runs-on: ubuntu-latest
@@ -21,6 +25,8 @@ jobs:
2125

2226
push-container-tags:
2327
runs-on: ubuntu-latest
28+
needs: cleanup-container-tags
29+
if: always() # Run after cleanup even if it fails
2430
steps:
2531
- name: Log into ghcr.io
2632
uses: redhat-actions/podman-login@v1

0 commit comments

Comments
 (0)