Skip to content

Commit

Permalink
fix the github release action
Browse files Browse the repository at this point in the history
  • Loading branch information
jspaleta committed Jun 29, 2022
1 parent 94a13dd commit 95bc048
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 @@ -29,9 +29,12 @@ 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 docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: sensu/sensu-flow:latest, sensu/sensu-flow:${{ github.ref }}
tags: sensu/sensu-flow:latest, sensu/sensu-flow:${{ steps.get_version.outputs.VERSION }}

0 comments on commit 95bc048

Please sign in to comment.