adding CI files.
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Andrew Davidson 2023-03-03 22:07:00 -08:00
parent 52021a8322
commit 203a9eb6fb
Signed by: amd
GPG key ID: F1199FC0A76BB402
2 changed files with 20 additions and 0 deletions

11
.woodpecker.yml Normal file
View 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
View 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