mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-22 09:29:38 +00:00
workflows: use path context for docker builds
We have to checkout anyway for setvars step, so we can reuse the data instead of making yet another checkout.
This commit is contained in:
parent
5773bc9da6
commit
b8fe915797
1 changed files with 1 additions and 0 deletions
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
|
@ -111,6 +111,7 @@ jobs:
|
|||
- name: Build and push
|
||||
uses: docker/build-push-action@v3
|
||||
with:
|
||||
context: .
|
||||
push: ${{ github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.event.inputs.push_image == 'true') }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
build-args: |
|
||||
|
|
Loading…
Reference in a new issue