Skip to content

Commit

Permalink
fix: manually set buildkit builder instance
Browse files Browse the repository at this point in the history
--use isn't working somehow

Signed-off-by: Tom Plant <[email protected]>
  • Loading branch information
pl4nty committed Jan 11, 2025
1 parent 60d3ab0 commit afc75b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/containers-kctf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
install_components: gke-gcloud-auth-plugin

- uses: docker/[email protected]
id: buildkit
- name: Get auth params for buildx cache
uses: crazy-max/[email protected]

Expand All @@ -35,6 +36,7 @@ jobs:
mv /tmp/kctf-3976fdec31aeabc10d41dfeaa2337f0a789f6698/dist kctf
source kctf/activate
docker buildx use ${{ steps.buildkit.outputs.name }}
docker() {
if [ "$1" = "build" ]; then
command docker buildx build --cache-from type=gha --cache-to type=gha,mode=max "${@:2}"
Expand Down

0 comments on commit afc75b1

Please sign in to comment.