fix dev image compilation
This commit is contained in:
parent
9ca62bd5ba
commit
bae36ccb35
14
.github/workflows/dev-image.yml
vendored
14
.github/workflows/dev-image.yml
vendored
@ -23,12 +23,22 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-buildx-
|
${{ runner.os }}-buildx-
|
||||||
-
|
-
|
||||||
name: Docker Buildx (build amd64 arm64)
|
name: Docker Buildx (build amd64)
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
||||||
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
||||||
--platform linux/amd64,linux/arm64 \
|
--platform linux/amd64 \
|
||||||
|
--output "type=image,push=false" \
|
||||||
|
--tag albertoxamin/bang:dev \
|
||||||
|
--file ./Dockerfile ./
|
||||||
|
-
|
||||||
|
name: Docker Buildx (build arm64)
|
||||||
|
run: |
|
||||||
|
docker buildx build \
|
||||||
|
--cache-from "type=local,src=/tmp/.buildx-cache" \
|
||||||
|
--cache-to "type=local,dest=/tmp/.buildx-cache" \
|
||||||
|
--platform linux/arm64 \
|
||||||
--output "type=image,push=false" \
|
--output "type=image,push=false" \
|
||||||
--tag albertoxamin/bang:dev \
|
--tag albertoxamin/bang:dev \
|
||||||
--file ./Dockerfile ./
|
--file ./Dockerfile ./
|
||||||
|
Loading…
Reference in New Issue
Block a user