Use url fragment for git ref context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-17 17:31:15 +02:00
parent 8413351ed4
commit e7964906a6
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
5 changed files with 5 additions and 83 deletions

View file

@ -89,9 +89,8 @@ jobs:
uses: ./
env:
GIT_AUTH_TOKEN: ${{ github.token }}
GIT_REF: ${{ github.ref }}
with:
context: ${{ github.repositoryUrl }}
context: "${{ github.repositoryUrl }}#${{ github.ref }}"
file: ./test/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64