ci: migrate to woodpecker on arm64
as part of migrating most of my services to a new server, I've switched CI to woodpecker, a fork of drone. CI configs are now in .woodpecker/, and are neater. The server runs on arm64, so the configs and prerequisite jfa-go-build-docker are built to run there primarily. They should work on other platforms still. New CI is at ci.hrfee.dev.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
when:
|
||||
- event: tag
|
||||
branch: main
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: docker.io/woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
username:
|
||||
from_secret: DOCKER_USERNAME
|
||||
password:
|
||||
from_secret: DOCKER_TOKEN
|
||||
repo: docker.io/hrfee/jfa-go
|
||||
tags: FIXME-latest
|
||||
registry: docker.io
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
- name: buildrone
|
||||
image: docker.io/python
|
||||
environment:
|
||||
BUILDRONE_KEY:
|
||||
from_secret: BUILDRONE_KEY
|
||||
commands:
|
||||
- wget https://builds.hrfee.pw/upload.py
|
||||
- pip install requests
|
||||
- python upload.py https://builds.hrfee.pw hrfee jfa-go --tag docker-stable=true
|
||||
|
||||
Reference in New Issue
Block a user