️(actions) enable trivy scan on backend image

The trivy was disabled because protobuf library was blocking the release
process. We can now enable it again, a new release of protobuf is
available.
This commit is contained in:
Manuel Raynaud
2026-02-03 17:45:13 +01:00
committed by GitHub
parent 44b38347c4
commit 9903bd73e2

View File

@@ -36,12 +36,12 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
# -
# name: Run trivy scan
# uses: numerique-gouv/action-trivy-cache@main
# with:
# docker-build-args: '--target backend-production -f Dockerfile'
# docker-image-name: 'docker.io/lasuite/impress-backend:${{ github.sha }}'
-
name: Run trivy scan
uses: numerique-gouv/action-trivy-cache@main
with:
docker-build-args: '--target backend-production -f Dockerfile'
docker-image-name: 'docker.io/lasuite/impress-backend:${{ github.sha }}'
-
name: Build and push
uses: docker/build-push-action@v6