mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-03-16 22:10:26 +00:00
Preserve Docker images of releases
Use "delete-only-untagged-versions" and stop tagging non-release images.
This commit is contained in:
parent
9dadf285a1
commit
46d7d78dd6
1 changed files with 2 additions and 1 deletions
3
.github/workflows/publish-docker.yml
vendored
3
.github/workflows/publish-docker.yml
vendored
|
|
@ -35,7 +35,7 @@ jobs:
|
|||
flavor: latest=true
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=sha,prefix=
|
||||
type=ref,event=branch
|
||||
|
||||
- name: Build and push Docker image
|
||||
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
|
||||
|
|
@ -50,3 +50,4 @@ jobs:
|
|||
package-name: 'linkchecker'
|
||||
package-type: 'container'
|
||||
min-versions-to-keep: 20
|
||||
delete-only-untagged-versions: 'true'
|
||||
|
|
|
|||
Loading…
Reference in a new issue