Skip to content

Commit

Permalink
ci: prime GitHub cache with Docker images built on main (#198)
Browse files Browse the repository at this point in the history
* chore: prime GitHub cache for Docker build on main

* chore: remove duplicate 'with' key
  • Loading branch information
rjaegers authored Nov 8, 2023
1 parent ad07183 commit 1a5ce18
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/prime-cache.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 1a5ce18

Please sign in to comment.