mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-04-29 12:00:13 +00:00
Reuse docker build cache between integration and release builds
This commit is contained in:
parent
194d5aa7a1
commit
cf902a1f79
1 changed files with 2 additions and 1 deletions
3
.github/workflows/create-release.yml
vendored
3
.github/workflows/create-release.yml
vendored
|
|
@ -130,7 +130,7 @@ jobs:
|
|||
- name: Build Docker images for integration tests
|
||||
run: |
|
||||
docker build -t pulse-mock-github:test tests/integration/mock-github-server
|
||||
docker build -t pulse:test -f Dockerfile .
|
||||
docker build -t pulse:test -f Dockerfile --target runtime --cache-from ghcr.io/${{ github.repository_owner }}/pulse:buildcache --build-arg BUILDKIT_INLINE_CACHE=1 .
|
||||
|
||||
- name: Run update integration smoke tests
|
||||
working-directory: tests/integration
|
||||
|
|
@ -226,6 +226,7 @@ jobs:
|
|||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
target: runtime
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
provenance: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue