We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2311cc7 commit df5917eCopy full SHA for df5917e
.github/workflows/build-docker-image.yml
@@ -1,9 +1,7 @@
1
name: Build and Push Docker Image
2
-
3
on:
4
- push:
5
- tags:
6
- - '**'
+ release:
+ types: [published]
7
8
jobs:
9
build-and-push:
@@ -26,7 +24,7 @@ jobs:
26
24
27
25
- name: Extract version from tag
28
id: version
29
- run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
+ run: echo "VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
30
31
- name: Convert repository name to lowercase
32
id: repo
0 commit comments