Skip to content

Commit

Permalink
fix: use context for docker build and push
Browse files Browse the repository at this point in the history
  • Loading branch information
scottyhardy committed Dec 17, 2021
1 parent fa2632a commit 0fc9816
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_from_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@ jobs:
echo "::set-output name=value::${PREV_STAGE}"
-
name: Restore checkpoint cache
if: matrix.stage > 1
# if: matrix.stage > 1
uses: actions/cache@v2
with:
path: wine-build
key: ${{ runner.os }}-${{ matrix.platform }}-${{ steps.previous_stage.outputs.value }}-${{ github.run_id }}-${{ hashFiles('**/lockfiles') }}
restore-keys: |
${{ runner.os }}-
-
name: Load CI builder image checkpoint
if: matrix.stage > 1
Expand Down Expand Up @@ -121,6 +123,7 @@ jobs:
if: matrix.stage == 3
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile.build_from_source
platforms: linux/${{ matrix.platform }}
push: true
Expand Down

0 comments on commit 0fc9816

Please sign in to comment.