CI: Update .drone.yml #1158 #1432

Move scripts/install-qemu.sh from Makefile to .drone.yml
This commit is contained in:
Michael Mayer 2021-07-15 16:26:21 +02:00
parent b245695eb7
commit 2b98f72f2f
2 changed files with 4 additions and 4 deletions

View file

@ -61,6 +61,7 @@ steps:
from_secret: docker_password
commands:
- scripts/docker-login.sh
- scripts/install-qemu.sh
- make docker-preview
when:
status:
@ -93,6 +94,7 @@ steps:
from_secret: docker_password
commands:
- scripts/docker-login.sh
- scripts/install-qemu.sh
- make docker-release
when:
status:
@ -175,6 +177,6 @@ steps:
---
kind: signature
hmac: 547daa345cfdc4fb73547df7d39231c958b99f507c03b529f4ba1974688b47f8
hmac: 8ecc944cb21da49afb764eef74a4cd1a385e36ca43b7b0710773b42534d3f83f
...

View file

@ -165,16 +165,14 @@ clean:
rm -rf storage/cache
rm -rf frontend/node_modules
docker-development:
scripts/install-qemu.sh
docker pull --platform=amd64 ubuntu:21.04
docker pull --platform=arm64 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)
docker-preview:
scripts/install-qemu.sh
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm
docker-release:
scripts/install-qemu.sh
scripts/docker-buildx.sh photoprism linux/amd64,linux/arm64,linux/arm $(DOCKER_TAG)
docker-local:
scripts/docker-build.sh photoprism