1
0
Fork 0
mirror of https://github.com/docker/build-push-action.git synced 2025-04-22 14:46:39 +02:00

Check context type

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 19:13:19 +02:00
parent 10b9d7ec22
commit 9c473659de
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
6 changed files with 835 additions and 4 deletions

View file

@ -81,8 +81,11 @@ jobs:
-
name: Build and push
uses: ./
env:
GITHUB_TOKEN: ${{ github.token }}
GITHUB_REF: ${{ github.ref }}
with:
context: "https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}#${{ github.ref }}"
context: ${{ github.repositoryUrl }}
file: ./test/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
platforms: linux/amd64,linux/arm64,linux/386