Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 6, 2023
1 parent 721c902 commit b84ac0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion buildTestImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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' });
Expand Down

0 comments on commit b84ac0c

Please sign in to comment.