Skip to content

Commit 7a56637

Browse files
committed
[ci] publish upon release as well
1 parent ac7eaed commit 7a56637

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/publish-docker.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ name: Publish Docker Image
22

33
on:
44
workflow_dispatch:
5+
release:
6+
types: [created]
57

68
jobs:
79
publish:
@@ -18,4 +20,10 @@ jobs:
1820
password: ${{ secrets.GITHUB_TOKEN }}
1921
workdir: scripts/dockerfiles
2022
buildargs: DEPENDENCIES_DIR
21-
registry: ghcr.io
23+
registry: ghcr.io
24+
- uses: actions/[email protected]
25+
with:
26+
package-name: 'robots-configuration'
27+
package-type: 'container'
28+
num-old-versions-to-delete: 10
29+
delete-only-untagged-versions: "true"

0 commit comments

Comments
 (0)