Skip to content

Commit

Permalink
[DDS-1576] Added test before push.
Browse files Browse the repository at this point in the history
  • Loading branch information
GROwen committed Jul 28, 2023
1 parent dfaa0fc commit e109f85
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
images: ${{ fromJson(vars.IMAGES) }}
images: ["node"]
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down Expand Up @@ -45,9 +45,14 @@ jobs:
- name: Build and push the images
uses: docker/[email protected]
with:
push: true
# push: true
load: true
files: |
./gh-actions-bake.hcl
${{ steps.meta.outputs.bake-file }}
# Target the default group - probably unnecessary.
targets: ${{ matrix.images }}
targets: ${{ matrix.images }}

- name: Test image
run: |
docker run --rm ${{ steps.meta.outputs.tags }}

0 comments on commit e109f85

Please sign in to comment.