From 0b89fab735269a424a23ce819d9ae1060f9351db Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 15 Mar 2024 14:42:58 +0100 Subject: [PATCH 1/4] debug --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 180844b..db8f3ef 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,8 @@ jobs: with: registry_password: ${{ secrets.GITHUB_TOKEN }} publish: 'false' - tags: ci/dummy:${{ github.sha }} + tags: | + ci/dummy:${{ github.sha }} - name: check-images run: docker images From 4467063e79a001fcad4c72efb27bfbba7774af3b Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 15 Mar 2024 15:11:20 +0100 Subject: [PATCH 2/4] test --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a47e93..a80ef3e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,7 @@ on: - - push + push: + branches: + - 'main' name: Build 🛢️ container From e85383a28590e43e2a783474b739de68ce50ec65 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 15 Mar 2024 15:24:13 +0100 Subject: [PATCH 3/4] debug --- .github/workflows/ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db8f3ef..93c2def 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: security-events: write steps: - name: Build container - uses: rwaffen/gha-build-and-publish-a-container@v2 + uses: rwaffen/gha-build-and-publish-a-container@debug_publish with: registry_password: ${{ secrets.GITHUB_TOKEN }} publish: 'false' @@ -27,14 +27,14 @@ jobs: - name: check-images run: docker images - - name: Run Trivy vulnerability scanner - uses: aquasecurity/trivy-action@master - with: - image-ref: ghcr.io/${{ github.repository }}:${{ github.sha }} - format: 'sarif' - output: 'trivy-results.sarif' + # - name: Run Trivy vulnerability scanner + # uses: aquasecurity/trivy-action@master + # with: + # image-ref: ghcr.io/${{ github.repository }}:${{ github.sha }} + # format: 'sarif' + # output: 'trivy-results.sarif' - - name: Upload Trivy scan results to GitHub Security tab - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: 'trivy-results.sarif' + # - name: Upload Trivy scan results to GitHub Security tab + # uses: github/codeql-action/upload-sarif@v2 + # with: + # sarif_file: 'trivy-results.sarif' From 99292ce2397ba59686f77c2f0500a8aecd2888a0 Mon Sep 17 00:00:00 2001 From: Robert Waffen Date: Fri, 15 Mar 2024 15:27:13 +0100 Subject: [PATCH 4/4] debug --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a80ef3e..bebfb6f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,7 +19,7 @@ jobs: run: echo "tag=${TAG:1}" >> $GITHUB_OUTPUT - name: Build container - uses: voxpupuli/gha-build-and-publish-a-container@v2 + uses: rwaffen/gha-build-and-publish-a-container@debug_publish with: registry_password: ${{ secrets.GITHUB_TOKEN }} tags: |