Skip to content

Commit

Permalink
Check context type
Browse files Browse the repository at this point in the history
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
  • Loading branch information
CrazyMax committed Aug 16, 2020
1 parent 10b9d7e commit 9c47365
Show file tree
Hide file tree
Showing 6 changed files with 835 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ___

* [Usage](#usage)
* [Quick start](#quick-start)
* [Bake](#bake)
* [Customizing](#customizing)
* [inputs](#inputs)
* [outputs](#outputs)
Expand Down
Loading

0 comments on commit 9c47365

Please sign in to comment.