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