From d9e5dabb354f9733ea384ccfd46442390895973f Mon Sep 17 00:00:00 2001 From: Andreas Falk Date: Sun, 8 Oct 2023 18:38:33 +0200 Subject: [PATCH] Refactor --- .github/workflows/build.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d0ce01..784eeb6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,11 +28,8 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build and push - uses: docker/build-push-action@v5 - with: - push: true - tags: andifalk/supply-chain-security:latest + - name: Build image and push + run: docker build . --file Dockerfile --platform linux/amd64 --tag andifalk/supply-chain-security:latest" - name: Run Trivy vulnerability scanner uses: aquasecurity/trivy-action@master with: