Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jmesterh committed Dec 13, 2024
1 parent ae15991 commit 4fb2a58
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/build-deploy-release-multi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,19 @@ jobs:
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
annotations: ${{ steps.meta.outputs.annotations }}
outputs: |
type=image,name=${{ env.registry }}/${{ secrets.PROJECT_ID }}/${{ secrets.REPOSITORY }}/${{ env.image }},push-by-digest=true,name-canonical=true,push=true
outputs:
- type=image,name=${{ env.registry }}/${{ secrets.PROJECT_ID }}/${{ secrets.REPOSITORY }}/${{ env.image }},push-by-digest=true,name-canonical=true,push=true
- type=docker
cache-from: type=gha,scope=${{ github.repository }}-${{ github.ref_name }}-${{ matrix.platform }}
cache-to: type=gha,scope=${{ github.repository }}-${{ github.ref_name }}-${{ matrix.platform }}

- name: Test image
id: test
run: |
docker run --rm -v "${PWD}/test":/tmp ${{ steps.build.outputs.imageid }} my_address_file.csv
docker run --rm -v "${PWD}/test":/tmp ${{ steps.build.outputs.imageid }} my_address_file.csv 0.6
docker run --rm -v "${PWD}/test":/tmp ${{ steps.build.outputs.imageid }} my_address_file.csv all
- name: Export digest
run: |
mkdir -p /tmp/digests/${{ env.image }}
Expand Down

0 comments on commit 4fb2a58

Please # to comment.