🩺(CI) remove backend trivy guard
We need to do a release but the backend cannot build because of a trivy issue. So we temporarily remove the backend trivy guard to be able to release.
This commit is contained in:
15
.github/workflows/docker-hub.yml
vendored
15
.github/workflows/docker-hub.yml
vendored
@@ -36,12 +36,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_HUB_USER }}
|
username: ${{ secrets.DOCKER_HUB_USER }}
|
||||||
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
|
||||||
-
|
# -
|
||||||
name: Run trivy scan
|
# name: Run trivy scan
|
||||||
uses: numerique-gouv/action-trivy-cache@main
|
# uses: numerique-gouv/action-trivy-cache@main
|
||||||
with:
|
# with:
|
||||||
docker-build-args: '--target backend-production -f Dockerfile'
|
# docker-build-args: '--target backend-production -f Dockerfile'
|
||||||
docker-image-name: 'docker.io/lasuite/impress-backend:${{ github.sha }}'
|
# docker-image-name: 'docker.io/lasuite/impress-backend:${{ github.sha }}'
|
||||||
-
|
-
|
||||||
name: Build and push
|
name: Build and push
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
@@ -146,8 +146,9 @@ jobs:
|
|||||||
|
|
||||||
notify-argocd:
|
notify-argocd:
|
||||||
needs:
|
needs:
|
||||||
- build-and-push-frontend
|
|
||||||
- build-and-push-backend
|
- build-and-push-backend
|
||||||
|
- build-and-push-frontend
|
||||||
|
- build-and-push-y-provider
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'preview')
|
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'preview')
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user