Skip to content

Commit d9facfe

Browse files
committed
fix release trigger
1 parent be843bc commit d9facfe

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 6 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]+)*'
6+
- '*.*.*'
77

88
jobs:
99
frontend:
@@ -90,17 +90,13 @@ jobs:
9090
username: ${{ secrets.DOCKER_USERNAME }}
9191
password: ${{ secrets.DOCKER_PASSWORD }}
9292

93-
- name: Extract tag name
94-
id: tag
95-
run: echo "tag=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
96-
9793
- name: Build and push
9894
uses: docker/build-push-action@v5
9995
with:
10096
context: .
10197
push: true
10298
tags: |
10399
subshellgmbh/o-neko:latest
104-
subshellgmbh/o-neko:${{ steps.tag.outputs.tag }}
100+
subshellgmbh/o-neko:${{ github.ref_name }}
105101
build-args: |
106102
JAR_FILE=${{ steps.find_jar.outputs.jar }}

0 commit comments

Comments
 (0)