Skip to content

Commit d2efe0e

Browse files
authored
Merge pull request #67 from wayofdev/feat/reusable-workflows
2 parents 658b508 + 6750b25 commit d2efe0e

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/build-latest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22

33
on: # yamllint disable-line rule:truthy
44
workflow_dispatch:
5-
push:
6-
branches:
7-
- master
85
pull_request:
96
branches:
107
- master

.github/workflows/build-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
- name: ⚙️ Get version for image tag
2626
id: version
2727
run: |
28-
echo "version=${{ github.ref_name#v }}" >> $GITHUB_OUTPUT
28+
version=${{ github.ref_name }}
29+
version=${version#v}
30+
echo "version=$version" >> $GITHUB_OUTPUT
2931
3032
build:
3133
needs: prepare

0 commit comments

Comments
 (0)