diff --git a/.github/workflows/trivy.yml b/.github/workflows/trivy.yml index dfd1c244fe..92006d3f70 100644 --- a/.github/workflows/trivy.yml +++ b/.github/workflows/trivy.yml @@ -17,7 +17,7 @@ jobs: - name: Build an image from Dockerfile run: | - docker build -t docker.io/securefederatedai/openfl:${{ github.sha }} -f openfl-docker/Dockerfile.base . + docker build --pull -t docker.io/securefederatedai/openfl:${{ github.sha }} -f openfl-docker/Dockerfile.base . - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master