Switch to Codeberg CI

This commit is contained in:
video-prize-ranch
2022-07-13 14:17:23 -04:00
parent 0d1bf4a008
commit 18c2c88d9f
3 changed files with 29 additions and 29 deletions

14
.woodpecker/.build.yml Normal file
View File

@@ -0,0 +1,14 @@
pipeline:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
registry: https://registry.gitlab.com/
repo: registry.gitlab.com/overtime-zone-wildfowl/rimgo
platforms: linux/amd64,linux/arm64
tag: latest
username:
from_secret: docker_username
password:
from_secret: docker_password
secrets: [docker_username, docker_password]

15
.woodpecker/.deploy.yml Normal file
View File

@@ -0,0 +1,15 @@
pipeline:
deploy:
image: alpine:latest
commands:
- apk update && apk --no-cache add curl git
- wget -O - https://fly.io/install.sh | sh
- git clone https://codeberg.org/video-prize-ranch/fly-cfg.git
- cd fly-cfg
- /root/.fly/bin/flyctl deploy --detach
secrets: [fly_api_token]
depends_on:
- build
skip_clone: true