Skip to content
This repository was archived by the owner on Jan 5, 2025. It is now read-only.

Commit 5251b3a

Browse files
committed
Fixed usage of parse-semver
1 parent 421bb39 commit 5251b3a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/dockerize-tag.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,21 +7,21 @@ jobs:
77
build-push-tag:
88
runs-on: ubuntu-latest
99
steps:
10+
- uses: olegtarasov/[email protected]
11+
id: get-tag
12+
with:
13+
tagRegex: "v(.*)"
14+
1015
- name: Parse semver string
1116
id: semver_parser
1217
uses: booxmedialtd/ws-action-parse-semver@v1
1318
with:
14-
input_string: 'refs/tags/v1.0.4'
19+
input_string: $GIT_TAG_NAME
1520
version_extractor_regex: '\/v(.*)$'
1621
- name: Use parsed semver
1722
run: |
1823
echo "v${{ steps.semver_parser.outputs.fullversion }}"
1924
20-
- uses: olegtarasov/[email protected]
21-
id: get-tag
22-
with:
23-
tagRegex: "v(.*)"
24-
2525
- name: Checkout Repository
2626
uses: actions/checkout@v2
2727

0 commit comments

Comments
 (0)