This commit is contained in:
parent
52021a8322
commit
203a9eb6fb
2 changed files with 20 additions and 0 deletions
11
.woodpecker.yml
Normal file
11
.woodpecker.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: plugins/git
|
||||||
|
depth: 1
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: docker:20.10.16 # fix at least major here
|
||||||
|
volumes:
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
commands:
|
||||||
|
- cd deploy && /bin/sh build.sh
|
9
build.sh
Normal file
9
build.sh
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
docker buildx build \
|
||||||
|
--platform linux/amd64,linux/arm64,linux/arm/v7 \
|
||||||
|
-t git.andr3w.net/amd/backup-server:latest \
|
||||||
|
-t git.andr3w.net/amd/backup-server:$(date -I) \
|
||||||
|
.
|
||||||
|
|
||||||
|
#docker
|
Loading…
Reference in a new issue