File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ jobs:
15
15
- run : git config user.name "bl3rune"
16
16
- run : npm version patch -m "v%s"
17
17
- run : VERSION=$(node -p "require('./package.json').version")
18
- - run : echo "Version=$VERSION" >> $GITHUB_ENV
19
18
- run : git tag ${VERSION}
20
19
- run : git push "https://bl3rune:${{ secrets.ACCESS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" --follow-tags
21
20
- run : git push "https://bl3rune:${{ secrets.ACCESS_TOKEN }}@github.com/$GITHUB_REPOSITORY.git" --tags
21
+ - name : get-npm-version
22
+ id : package-version
23
+ uses : martinbeentjes/npm-get-version-action@main
22
24
- name : Set up QEMU
23
25
uses : docker/setup-qemu-action@v1
24
26
- name : Set up Docker Buildx
33
35
uses : docker/build-push-action@v2
34
36
with :
35
37
push : true
36
- tags : bl3rune/gamedig-discord-bot:latest,bl3rune/gamedig-discord-bot:${{ env.Version }}
38
+ tags : bl3rune/gamedig-discord-bot:latest,bl3rune/gamedig-discord-bot:${{steps.package-version.outputs.current-version }}
37
39
- name : Docker Hub Description
38
40
uses : peter-evans/dockerhub-description@v2
39
41
with :
You can’t perform that action at this time.
0 commit comments