Skip to content

Commit 300057c

Browse files
committed
Disable image cleanup
1 parent 21beecb commit 300057c

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

.github/workflows/nightly-alpine.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,18 +66,18 @@ jobs:
6666
tags: |
6767
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}
6868
69-
# cleanup:
70-
# runs-on: ubuntu-latest
71-
# permissions:
72-
# contents: read
73-
# packages: write
74-
# needs: build-and-push-Nu
75-
# steps:
76-
# - name: Delete all containers from repository without tags
77-
# uses: Chizkiyahu/delete-untagged-ghcr-action@v4
78-
# with:
79-
# owner_type: org
80-
# untagged_only: true
81-
# repository: 'nushell/nushell'
82-
# repository_owner: 'nushell'
83-
# token: ${{ secrets.GITHUB_TOKEN }}
69+
cleanup:
70+
runs-on: ubuntu-latest
71+
permissions:
72+
contents: read
73+
packages: write
74+
needs: build-and-push-Nu
75+
steps:
76+
- name: Delete all containers from repository without tags
77+
uses: Chizkiyahu/delete-untagged-ghcr-action@v4
78+
with:
79+
owner_type: user
80+
untagged_only: true
81+
repository_owner: 'nushell'
82+
repository: 'nushell/nushell'
83+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release-nu-image.yaml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,18 @@ jobs:
9494
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}
9595
ghcr.io/nushell/nushell:${{ env.NU_VERSION }}-alpine
9696
97-
# cleanup:
98-
# runs-on: ubuntu-latest
99-
# permissions:
100-
# contents: read
101-
# packages: write
102-
# needs: build-and-push-Nu
103-
# steps:
104-
# - name: Delete all containers from repository without tags
105-
# uses: Chizkiyahu/delete-untagged-ghcr-action@v4
106-
# with:
107-
# owner_type: org
108-
# untagged_only: true
109-
# repository: 'nushell/nushell'
110-
# repository_owner: 'nushell'
111-
# token: ${{ secrets.GITHUB_TOKEN }}
97+
cleanup:
98+
runs-on: ubuntu-latest
99+
permissions:
100+
contents: read
101+
packages: write
102+
needs: build-and-push-Nu
103+
steps:
104+
- name: Delete all containers from repository without tags
105+
uses: Chizkiyahu/delete-untagged-ghcr-action@v4
106+
with:
107+
owner_type: user
108+
untagged_only: true
109+
repository_owner: 'nushell'
110+
repository: 'nushell/nushell'
111+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)