Skip to content

Commit 19bb675

Browse files
committed
cicd
1 parent de889a7 commit 19bb675

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: release
33
on:
44
push:
55
tags:
6-
- "[0-9]+.[0-9]+.[0-9]+"
6+
- v[0-9]+.[0-9]+.[0-9]+
77

88
jobs:
99
release:
@@ -23,6 +23,7 @@ jobs:
2323
password: ${{ secrets.DOCKERHUB_TOKEN }}
2424
- name: docker build and push
2525
run: |
26-
IMAGE=4pdosc/prpc:${BRANCH_NAME}
26+
IMAGE=4pdosc/prpc:${BRANCH_NAME:1}
2727
docker build -t ${IMAGE} -f docker/Dockerfile .
2828
docker push ${IMAGE}
29+

0 commit comments

Comments
 (0)