From bc31bba186f30a22e2515526854baad4eac3afb5 Mon Sep 17 00:00:00 2001 From: Andy Augustin Date: Sat, 16 Mar 2024 12:17:47 +0100 Subject: [PATCH] chore(#502): :technologist: Signed-off-by: Andy Augustin --- .github/workflows/push_docker.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push_docker.yml b/.github/workflows/push_docker.yml index 6bdc27a1..e9575b97 100644 --- a/.github/workflows/push_docker.yml +++ b/.github/workflows/push_docker.yml @@ -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