Skip to content

Commit

Permalink
fix: should work only on merge now
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Aug 30, 2024
1 parent 764a6d6 commit 50cba7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ jobs:
echo "keep_tags=$keep_tags"
- name: Run container retention policy
# if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main'
uses: snok/[email protected]
with:
account: ApeWorX
token: ${{ secrets.GITHUB_TOKEN }}
image-tags: "!latest* !${{ env.keep_tags }}"
image-tags: "!stable* !latest* !${{ env.keep_tags }}"
tag-selection: both
cut-off: 0w
cut-off: 4w
dry-run: true

0 comments on commit 50cba7e

Please sign in to comment.