From b84ac0c2ba0041dac007dc4f0c03daa59259c4cf Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Mon, 6 Nov 2023 06:07:30 -0800 Subject: [PATCH] debug --- .github/workflows/ci.yml | 6 +++--- buildTestImages.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7556ee9d..bd559003 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,9 @@ jobs: # The .ts scripts depend upon this - run: yarn global add tsx - name: build test images - run: ./buildTestImages.ts + run: | + docker info + ./buildTestImages.ts - name: run test images run: ./runTestImages.ts # ??? does it push correctly? https://github.com/Agoric/agoric-3-proposals/actions/runs/6750864452/job/18353986038?pr=11 @@ -61,8 +63,6 @@ jobs: uses: docker/build-push-action@v5 with: context: . - # Output to local Docker client to re-use the stages in the previous build step - load: true # push to registry on every repo push. A PR #2 will push with tag `pr-2` and `main` will have tag `main`. # See https://github.com/docker/metadata-action?tab=readme-ov-file#basic. push: true diff --git a/buildTestImages.ts b/buildTestImages.ts index 555b0a9b..9cd1c7e4 100755 --- a/buildTestImages.ts +++ b/buildTestImages.ts @@ -26,7 +26,7 @@ for (const proposal of proposals) { console.log(`\nBuilding test image for proposal ${proposal.proposalName}`); } const { name, target } = imageNameForProposalTest(proposal); - const cmd = `docker build --tag ${name} --target ${target} .`; + const cmd = `docker buildx build --load --tag ${name} --target ${target} .`; console.log(cmd); if (!dry) { execSync(cmd, { stdio: 'inherit' });