Skip to content

Commit e50cbec

Browse files
committed
feat: update docker workflow for prerelease support
1 parent ef7f21b commit e50cbec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/docker-image.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Docker Image CI
22

33
on:
44
release:
5-
types: [published]
5+
types: [published, prereleased]
66

77
jobs:
88
build:
@@ -31,4 +31,8 @@ jobs:
3131
with:
3232
platforms: linux/arm64,linux/amd64
3333
push: true
34-
tags: rsstranslator/rsstranslator:latest,rsstranslator/rsstranslator:${{ steps.latesttag.outputs.tag }}
34+
tags: |
35+
rsstranslator/rsstranslator:${{ steps.latesttag.outputs.tag }}
36+
${{ github.event.release.prerelease && 'rsstranslator/rsstranslator:dev' || 'rsstranslator/rsstranslator:latest' }}
37+
38+

0 commit comments

Comments
 (0)