mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-09-19 10:50:11 +00:00
Harvey Tindall
7c8e463929
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.
27 lines
699 B
YAML
27 lines
699 B
YAML
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
|
|
|