From ad07183519a039b7dee640314793c1f2b48532a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:21:05 +0000 Subject: [PATCH 1/2] chore(deps): bump sigstore/cosign-installer from 3.1.2 to 3.2.0 (#197) Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.1.2 to 3.2.0. - [Release notes](https://github.com/sigstore/cosign-installer/releases) - [Commits](https://github.com/sigstore/cosign-installer/compare/11086d25041f77fe8fe7b9ea4e48e3b9192b8f19...1fc5bd396d372bee37d608f955b336615edf79c8) --- updated-dependencies: - dependency-name: sigstore/cosign-installer dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/build-push.yml | 2 +- .github/workflows/cleanup-pr-image.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-push.yml b/.github/workflows/build-push.yml index c985e399..63b0539a 100644 --- a/.github/workflows/build-push.yml +++ b/.github/workflows/build-push.yml @@ -29,7 +29,7 @@ jobs: # with sigstore/fulcio when running outside of PRs. id-token: write steps: - - uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2 + - uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # v3.2.0 if: ${{ github.event_name != 'merge_group' }} - uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0 id: meta diff --git a/.github/workflows/cleanup-pr-image.yml b/.github/workflows/cleanup-pr-image.yml index 1e9667c1..af1eb4c6 100644 --- a/.github/workflows/cleanup-pr-image.yml +++ b/.github/workflows/cleanup-pr-image.yml @@ -16,7 +16,7 @@ jobs: permissions: packages: write steps: - - uses: sigstore/cosign-installer@11086d25041f77fe8fe7b9ea4e48e3b9192b8f19 # v3.1.2 + - uses: sigstore/cosign-installer@1fc5bd396d372bee37d608f955b336615edf79c8 # v3.2.0 - uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 with: registry: ${{ env.REGISTRY }} From 1a5ce18c6d9d7a431e2cfd429cd1a842b6abecd1 Mon Sep 17 00:00:00 2001 From: Ron <45816308+rjaegers@users.noreply.github.com> Date: Wed, 8 Nov 2023 14:04:11 +0100 Subject: [PATCH 2/2] ci: prime GitHub cache with Docker images built on main (#198) * chore: prime GitHub cache for Docker build on main * chore: remove duplicate 'with' key --- .github/workflows/prime-cache.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/prime-cache.yml diff --git a/.github/workflows/prime-cache.yml b/.github/workflows/prime-cache.yml new file mode 100644 index 00000000..23ddfecd --- /dev/null +++ b/.github/workflows/prime-cache.yml @@ -0,0 +1,26 @@ +--- +name: Prime Cache + +on: + push: + branches: [main] + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }} + +jobs: + prime-docker-cache: + runs-on: ubuntu-latest + steps: + - uses: docker/setup-qemu-action@68827325e0b33c7199eb31dd4e31fbe9023e06e3 # v3.0.0 + - uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 + - uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 + with: + file: .devcontainer/Dockerfile + platforms: linux/amd64,linux/arm64 + cache-from: type=gha + cache-to: type=gha,mode=max