From 0eee6a2ba199706ee45d8bae80d82ab4d4b761a5 Mon Sep 17 00:00:00 2001 From: nodiscc Date: Sun, 21 May 2023 21:08:33 +0200 Subject: [PATCH] gihub actions: fix value of TRIVY_TARGET_DOCKER_IMAGE - fixes Error response from daemon: no such image: ghcr.io/***:trivy: No such image: ghcr.io/***:trivy - introduced in https://github.com/shaarli/Shaarli/pull/1980 but the test target branch/tag was never reverted to 'latest' --- .github/workflows/docker-latest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-latest.yml b/.github/workflows/docker-latest.yml index 2ce685e8..bce2d4c0 100644 --- a/.github/workflows/docker-latest.yml +++ b/.github/workflows/docker-latest.yml @@ -42,4 +42,4 @@ jobs: - name: Image digest run: echo ${{ steps.docker_build.outputs.digest }} - name: Run trivy image scanner - run: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:trivy + run: make test_trivy TRIVY_TARGET_DOCKER_IMAGE=ghcr.io/${{ secrets.DOCKER_IMAGE }}:latest