Reuse docker build cache between integration and release builds
This commit is contained in:
parent
64c654b330
commit
ce1f6c92ab
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
|
- name: Build Docker images for integration tests
|
||||||
run: |
|
run: |
|
||||||
docker build -t pulse-mock-github:test tests/integration/mock-github-server
|
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
|
- name: Run update integration smoke tests
|
||||||
working-directory: tests/integration
|
working-directory: tests/integration
|
||||||
|
|
@ -226,6 +226,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
|
target: runtime
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
provenance: false
|
provenance: false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue