Skip to content

Commit

Permalink
Fix version passed to docker
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schulze-vireso committed Mar 16, 2021
1 parent 829c5e4 commit 2cf7bc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,12 @@ jobs:
needs: version-check
steps:
- uses: actions/checkout@v2
- id: version
run: echo ::set-output name=version::${GITHUB_REF/refs\/tags\//}
- uses: docker/build-push-action@v1
with:
file: ./Dockerfile
platforms: linux/amd64
username: ${{ secrets.DOCKER_USERNAME }}
username: bats
password: ${{ secrets.DOCKER_PASSWORD }}
tags: bats/bats:${GITHUB_REF/refs\/tags\//}
tags: bats/bats:${{ steps.version.outputs.version }}

0 comments on commit 2cf7bc6

Please sign in to comment.