Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuckame authored Nov 5, 2020
1 parent f0ac8d5 commit fd11872
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- name: Build and push
uses: docker/build-push-action@v2
with:
Expand All @@ -63,4 +66,4 @@ jobs:
push: true
tags: |
chuckame/marlin-console-configurator:latest
chuckame/marlin-console-configurator:${{ github.ref }}
chuckame/marlin-console-configurator:${{ steps.get_version.outputs.VERSION }}

0 comments on commit fd11872

Please sign in to comment.