Skip to content

Commit 10ed36e

Browse files
committed
CI: fixing trigger logic to also get executed on new tags creation
1 parent fe41afa commit 10ed36e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,14 @@ jobs:
6464
with:
6565
images: vboard/vboard-ws
6666
- uses: docker/login-action@v1
67-
if: startsWith(github.ref, 'refs/tags/v')
67+
if: startsWith(github.ref, 'refs/tags/')
6868
with:
6969
username: ${{ secrets.DOCKER_USERNAME }}
7070
password: ${{ secrets.DOCKER_PASSWORD }}
7171
- uses: docker/build-push-action@v2
7272
with:
7373
context: vboard-ws
74-
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
74+
push: ${{ startsWith(github.ref, 'refs/tags/') }}
7575
tags: ${{ steps.meta.outputs.tags }}
7676
labels: ${{ steps.meta.outputs.labels }}
7777

@@ -85,14 +85,14 @@ jobs:
8585
with:
8686
images: vboard/vboard-front
8787
- uses: docker/login-action@v1
88-
if: startsWith(github.ref, 'refs/tags/v')
88+
if: startsWith(github.ref, 'refs/tags/')
8989
with:
9090
username: ${{ secrets.DOCKER_USERNAME }}
9191
password: ${{ secrets.DOCKER_PASSWORD }}
9292
- uses: docker/build-push-action@v2
9393
with:
9494
context: vboard-front
95-
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
95+
push: ${{ startsWith(github.ref, 'refs/tags/') }}
9696
tags: ${{ steps.meta.outputs.tags }}
9797
labels: ${{ steps.meta.outputs.labels }}
9898

@@ -105,13 +105,13 @@ jobs:
105105
with:
106106
images: vboard/vboard-batchs
107107
- uses: docker/login-action@v1
108-
if: startsWith(github.ref, 'refs/tags/v')
108+
if: startsWith(github.ref, 'refs/tags/')
109109
with:
110110
username: ${{ secrets.DOCKER_USERNAME }}
111111
password: ${{ secrets.DOCKER_PASSWORD }}
112112
- uses: docker/build-push-action@v2
113113
with:
114114
context: vboard-batchs
115-
push: ${{ startsWith(github.ref, 'refs/tags/v') }}
115+
push: ${{ startsWith(github.ref, 'refs/tags/') }}
116116
tags: ${{ steps.meta.outputs.tags }}
117117
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)