Split image build/load step.
This commit is contained in:
parent
7538d188a8
commit
53b7556eb3
|
@ -130,12 +130,19 @@ jobs:
|
||||||
uses: docker/build-push-action@v3
|
uses: docker/build-push-action@v3
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
load: true
|
|
||||||
tags: ghcr.io/azuracast/azuracast:latest
|
tags: ghcr.io/azuracast/azuracast:latest
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
cache-from: type=registry,ref=ghcr.io/azuracast/azuracast:buildcache
|
cache-from: type=registry,ref=ghcr.io/azuracast/azuracast:buildcache
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|
||||||
|
- name: Load Web Image for Testing
|
||||||
|
uses: docker/build-push-action@v3
|
||||||
|
with:
|
||||||
|
context: .
|
||||||
|
load: true
|
||||||
|
tags: ghcr.io/azuracast/azuracast:latest
|
||||||
|
cache-from: type=gha
|
||||||
|
|
||||||
- name: Set up functional test environment.
|
- name: Set up functional test environment.
|
||||||
run: |
|
run: |
|
||||||
cp sample.env .env
|
cp sample.env .env
|
||||||
|
|
Loading…
Reference in New Issue