From beca35bdce4fd9037aeb669fc9b05e4ec4f3c2fd Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 13 Aug 2024 15:05:43 +0300 Subject: fix(cd): Removed credentials, removed quotes from value --- .github/workflows/cd-dev.yml | 5 +---- .github/workflows/cd.yml | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cd-dev.yml b/.github/workflows/cd-dev.yml index 51a0ef1..938b13a 100644 --- a/.github/workflows/cd-dev.yml +++ b/.github/workflows/cd-dev.yml @@ -36,11 +36,8 @@ jobs: steps: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 - env: - TRIVY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - TRIVY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} with: - image-ref: 'docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web-dev:latest' + image-ref: docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web-dev:latest format: 'sarif' output: 'trivy-results.sarif' diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 05e2ce0..1f7fb43 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -29,11 +29,8 @@ jobs: steps: - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@0.20.0 - env: - TRIVY_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - TRIVY_PASSWORD: ${{ secrets.DOCKERHUB_TOKEN }} with: - image-ref: 'docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web:latest' + image-ref: docker.io/${{ secrets.DOCKERHUB_USERNAME }}/pico-web:latest format: 'sarif' output: 'trivy-results.sarif' -- cgit v1.2.3