Skip to content

Commit

Permalink
ci: use runner context object
Browse files Browse the repository at this point in the history
Signed-off-by: Hank Donnay <[email protected]>
  • Loading branch information
hdonnay committed Mar 14, 2022
1 parent 0ea0e9d commit 87a2421
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -188,16 +188,16 @@ jobs:
password: ${{ secrets.QUAY_TOKEN }}
- name: Extract Release
run: |
mkdir "${RUNNER_TEMP}/build"
tar -xz -f ${{steps.download.outputs.download-path}}/clair-${{ needs.config.outputs.version }}.tar.gz --strip-components=1 -C "${RUNNER_TEMP}/build"
mkdir "${{ runner.temp }}/build"
tar -xz -f ${{steps.download.outputs.download-path}}/clair-${{ needs.config.outputs.version }}.tar.gz --strip-components=1 -C "${{ runner.temp }}/build"
- name: Build Container
uses: docker/build-push-action@v2
with:
build-args: |
CLAIR_VERSION=${{ needs.config.outputs.version }}
cache-from: type=gha
cache-to: type=gha,mode=max
context: ${{ env.RUNNER_TEMP }}/build
context: ${{ runner.temp }}/build
platforms: linux/amd64,linux/arm64
push: true
tags: |
Expand Down

0 comments on commit 87a2421

Please sign in to comment.