Move scripts/install-qemu.sh from Makefile to .drone.yml
This commit is contained in:
parent
b245695eb7
commit
2b98f72f2f
2 changed files with 4 additions and 4 deletions
|
@ -61,6 +61,7 @@ steps:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- scripts/docker-login.sh
|
- scripts/docker-login.sh
|
||||||
|
- scripts/install-qemu.sh
|
||||||
- make docker-preview
|
- make docker-preview
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
@ -93,6 +94,7 @@ steps:
|
||||||
from_secret: docker_password
|
from_secret: docker_password
|
||||||
commands:
|
commands:
|
||||||
- scripts/docker-login.sh
|
- scripts/docker-login.sh
|
||||||
|
- scripts/install-qemu.sh
|
||||||
- make docker-release
|
- make docker-release
|
||||||
when:
|
when:
|
||||||
status:
|
status:
|
||||||
|
@ -175,6 +177,6 @@ steps:
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: signature
|
kind: signature
|
||||||
hmac: 547daa345cfdc4fb73547df7d39231c958b99f507c03b529f4ba1974688b47f8
|
hmac: 8ecc944cb21da49afb764eef74a4cd1a385e36ca43b7b0710773b42534d3f83f
|
||||||
|
|
||||||
...
|
...
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -165,16 +165,14 @@ clean:
|
||||||
rm -rf storage/cache
|
rm -rf storage/cache
|
||||||
rm -rf frontend/node_modules
|
rm -rf frontend/node_modules
|
||||||
docker-development:
|
docker-development:
|
||||||
|
scripts/install-qemu.sh
|
||||||
docker pull --platform=amd64 ubuntu:21.04
|
docker pull --platform=amd64 ubuntu:21.04
|
||||||
docker pull --platform=arm64 ubuntu:21.04
|
docker pull --platform=arm64 ubuntu:21.04
|
||||||
docker pull --platform=arm ubuntu:21.04
|
docker pull --platform=arm ubuntu:21.04
|
||||||
scripts/install-qemu.sh
|
|
||||||
scripts/docker-buildx.sh development linux/amd64,linux/arm64,linux/arm $(DOCKER_TAG)
|
scripts/docker-buildx.sh development linux/amd64,linux/arm64,linux/arm $(DOCKER_TAG)
|
||||||
docker-preview:
|
docker-preview:
|
||||||
scripts/install-qemu.sh
|
|
||||||
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm
|
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm
|
||||||
docker-release:
|
docker-release:
|
||||||
scripts/install-qemu.sh
|
|
||||||
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm $(DOCKER_TAG)
|
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm $(DOCKER_TAG)
|
||||||
docker-local:
|
docker-local:
|
||||||
scripts/docker-build.sh photoprism
|
scripts/docker-build.sh photoprism
|
||||||
|
|
Loading…
Reference in a new issue