Skip to content

Commit

Permalink
chore(#502): 🧑‍💻
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Augustin <dev@andreas-augustin.org>
  • Loading branch information
AndreasAugustin committed Mar 16, 2024
1 parent d815605 commit bc31bba
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/push_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,20 @@ jobs:
load: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: run tests
- name: install container test tools
run: |
echo "Install container tools"
curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64 \
&& chmod +x container-structure-test-linux-amd64 \
&& sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test
- name: test docker image
run: |
echo "Run tests"
container-structure-test test \
--image ${{ matrix.variant }}:${{ steps.meta.outputs.tags }} \
--image andyAugustin/${{ matrix.variant }}:${{ steps.meta.outputs.tags }} \
--config src/test-config.yaml
container-structure-test test \
--image ghcr.io/AndreasAugustin/${{ matrix.variant }}:${{ steps.meta.outputs.tags }} \
--config src/test-config.yaml
- name: push ${{ matrix.variant }}
uses: docker/build-push-action@v5
Expand Down

0 comments on commit bc31bba

Please sign in to comment.