Skip to content

Commit

Permalink
Disable image cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcer committed Oct 31, 2024
1 parent 21beecb commit 300057c
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 30 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/nightly-alpine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,18 +66,18 @@ jobs:
tags: |
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}
# cleanup:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# needs: build-and-push-Nu
# steps:
# - name: Delete all containers from repository without tags
# uses: Chizkiyahu/delete-untagged-ghcr-action@v4
# with:
# owner_type: org
# untagged_only: true
# repository: 'nushell/nushell'
# repository_owner: 'nushell'
# token: ${{ secrets.GITHUB_TOKEN }}
cleanup:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: build-and-push-Nu
steps:
- name: Delete all containers from repository without tags
uses: Chizkiyahu/delete-untagged-ghcr-action@v4
with:
owner_type: user
untagged_only: true
repository_owner: 'nushell'
repository: 'nushell/nushell'
token: ${{ secrets.GITHUB_TOKEN }}
30 changes: 15 additions & 15 deletions .github/workflows/release-nu-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,18 @@ jobs:
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}-alpine
# cleanup:
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
# needs: build-and-push-Nu
# steps:
# - name: Delete all containers from repository without tags
# uses: Chizkiyahu/delete-untagged-ghcr-action@v4
# with:
# owner_type: org
# untagged_only: true
# repository: 'nushell/nushell'
# repository_owner: 'nushell'
# token: ${{ secrets.GITHUB_TOKEN }}
cleanup:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
needs: build-and-push-Nu
steps:
- name: Delete all containers from repository without tags
uses: Chizkiyahu/delete-untagged-ghcr-action@v4
with:
owner_type: user
untagged_only: true
repository_owner: 'nushell'
repository: 'nushell/nushell'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 300057c

Please sign in to comment.