Skip to content

Commit 4f035fe

Browse files
authored
Update blank.yml
1 parent 581879d commit 4f035fe

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.github/workflows/blank.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: 'Get Release'
22

33
on:
4-
push:
5-
branches:
6-
- master
4+
release:
5+
types: [created]
6+
77
jobs:
88
buildx:
99
runs-on: ubuntu-latest
@@ -17,9 +17,6 @@ jobs:
1717
VERSION=${GITHUB_REF#refs/tags/v}
1818
TAGS="${DOCKER_IMAGE}:v${VERSION}"
1919
fi
20-
if [[ $VERSION =~ ^[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}$ ]]; then
21-
TAGS="${DOCKER_IMAGE}:latest"
22-
fi
2320
echo ::set-output name=tag::${TAGS}
2421
-
2522
name: Inspect image

0 commit comments

Comments
 (0)