File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed
Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ jobs:
156156 tags : ${{ steps.meta.outputs.tags }}
157157 labels : ${{ steps.meta.outputs.labels }}
158158
159- package-cleanup :
159+ github- package-cleanup :
160160 name : Cleanup Old GitHub Packages
161161 needs : [build-ubuntu-2004, build-ubuntu-2204, build-ubuntu-2404]
162162 runs-on : ubuntu-latest
@@ -168,3 +168,17 @@ jobs:
168168 package-type : container
169169 min-versions-to-keep : 1
170170 delete-only-untagged-versions : true
171+
172+ docker-hub-cleanup :
173+ name : Cleanup Old Docker Hub Images
174+ runs-on : ubuntu-latest
175+ steps :
176+ - uses : actions/checkout@v5
177+
178+ - name : Docker Hub Cleanup
179+ uses : lostlink/docker-cleanup@v1
180+ with :
181+ username : ${{ secrets.DOCKER_HUB_USERNAME }}
182+ password : ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
183+ repositories : " gameservermanagers/steamcmd"
184+ # dry-run: false # Set to true for testing
You can’t perform that action at this time.
0 commit comments