From 87773fd16787814f4f8d3beb1da06bbb68ad6f49 Mon Sep 17 00:00:00 2001 From: Nitishkumar Singh Date: Sun, 4 Sep 2022 20:21:04 +0530 Subject: [PATCH] Verify docker-compose images Signed-off-by: Nitishkumar Singh Match all yaml files Signed-off-by: Nitishkumar Singh feedback changes Signed-off-by: Nitishkumar Singh --- .github/workflows/verify-images.yaml | 18 ++++++++++++++++++ Makefile | 4 ++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/verify-images.yaml diff --git a/.github/workflows/verify-images.yaml b/.github/workflows/verify-images.yaml new file mode 100644 index 0000000..c7929b7 --- /dev/null +++ b/.github/workflows/verify-images.yaml @@ -0,0 +1,18 @@ +name: Verify Docker Compose Images + +on: + push: + paths: + - '**.yaml' + +jobs: + verifyImages: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - uses: alexellis/setup-arkade@v2 + - name: Verify chart images + id: verify_images + run: | + VERBOSE=true make verify-compose \ No newline at end of file diff --git a/Makefile b/Makefile index f7f57a8..c70fc56 100644 --- a/Makefile +++ b/Makefile @@ -66,3 +66,7 @@ test-e2e: # Removed due to timing issue in CI on GitHub Actions # /usr/local/bin/faas-cli logs figlet --since 15m --follow=false | grep Forking + +verify-compose: + @echo Verifying docker-compose.yaml images in remote registries && \ + arkade chart verify --verbose=$(VERBOSE) -f ./docker-compose.yaml \ No newline at end of file