diff --git a/.github/workflows/build-docker-workflow.yaml b/.github/workflows/build-docker-workflow.yaml index ee1f9d1..8079472 100644 --- a/.github/workflows/build-docker-workflow.yaml +++ b/.github/workflows/build-docker-workflow.yaml @@ -31,7 +31,7 @@ jobs: echo "TAG_NAME=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV - name: Build and push release - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 if: startsWith(github.ref, 'refs/tags/v') with: context: . @@ -39,9 +39,12 @@ jobs: tags: ceobecanteen/ceobe-canteen-bot:${{ env.TAG_NAME }} cache-from: type=gha cache-to: type=gha,mode=max + provenance: false + sbom: false + - name: Build and push latest - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 if: "!startsWith(github.ref, 'refs/tags/v') && github.event_name == 'push'" with: context: . @@ -49,9 +52,11 @@ jobs: tags: ceobecanteen/ceobe-canteen-bot cache-from: type=gha cache-to: type=gha,mode=max + provenance: false + sbom: false - name: Build and push debug - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v4 if: "github.event_name == 'pull_request'" with: context: . @@ -59,4 +64,6 @@ jobs: tags: ceobecanteen/ceobe-canteen-bot:${{ github.sha }} cache-from: type=gha cache-to: type=gha,mode=max + provenance: false + sbom: false