From 7a0156a642f55cf8b8c4c6d613a5677c089bf096 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 5 Dec 2023 08:17:34 +0100 Subject: [PATCH 1/3] ci: stop publish --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b64219e8..8129a2014 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -29,7 +29,7 @@ jobs: - uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # v3.2.0 - name: Docker registry login - if: github.ref_name == 'main' + if: github.ref_name == 'main' && false run: | echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin @@ -41,11 +41,11 @@ jobs: platforms: ${{ github.ref_name == 'main' && 'linux/amd64,linux/arm64' || '' }} image-prefixes: ghcr.io/${{ github.repository_owner }} last-only: true - dry-run: ${{ github.ref_name != 'main' }} + dry-run: ${{ github.ref_name != 'main' || true }} - name: Build and Publish slim - if: github.ref_name == 'main' + if: github.ref_name == 'main' && false uses: containerbase/internal-tools@959c0a2a2a55b8cdff6790c06443a75eef7d4b31 # v3.0.21 with: command: docker-builder From d1ea5acd7ff124f3c8670a854d6d47f9ab79ebf1 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Tue, 5 Dec 2023 08:19:43 +0100 Subject: [PATCH 2/3] chore: disable renovate --- renovate.json | 1 + 1 file changed, 1 insertion(+) diff --git a/renovate.json b/renovate.json index 39ed984f0..1d0e6541c 100644 --- a/renovate.json +++ b/renovate.json @@ -6,6 +6,7 @@ ], "ignorePresets": [":maintainLockFilesWeekly"], "baseBranches": ["$default", "/^v\\d+$/"], + "enabled": false, "packageRules": [ { "description": "No longer updates these branches", From d7c0ec3bf426274eff16ed43682e69197984c4d8 Mon Sep 17 00:00:00 2001 From: Michael Kriese Date: Fri, 9 Feb 2024 15:35:52 +0100 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a0c4131d..01db96fc9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,9 +1,9 @@ name: build on: - push: - branches: - - main +# push: +# branches: +# - main pull_request: branches: - main @@ -29,10 +29,10 @@ jobs: - uses: sigstore/cosign-installer@e1523de7571e31dbe865fd2e80c5c7c23ae71eb4 # v3.4.0 - name: Docker registry login + if: github.ref_name == 'main' run: | echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.repository_owner }} --password-stdin - if: github.ref_name == 'main' && false - name: Build and Publish uses: containerbase/internal-tools@e7bd2e8cedd99c9b24982865534cb7c9bf88620b # v3.0.55 @@ -41,13 +41,13 @@ jobs: platforms: ${{ github.ref_name == 'main' && 'linux/amd64,linux/arm64' || '' }} image-prefixes: ghcr.io/${{ github.repository_owner }} last-only: true - dry-run: ${{ github.ref_name != 'main' || true }} + dry-run: ${{ github.ref_name != 'main' }} - name: Build and Publish slim + if: github.ref_name == 'main' uses: containerbase/internal-tools@e7bd2e8cedd99c9b24982865534cb7c9bf88620b # v3.0.55 with: command: docker-builder image-prefixes: ghcr.io/${{ github.repository_owner }} last-only: true tag-suffix: slim - if: github.ref_name == 'main' && false