mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
30 lines
771 B
YAML
30 lines
771 B
YAML
when:
|
|
- event: tag
|
|
branch: main
|
|
|
|
steps:
|
|
- name: build
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx
|
|
secrets: [ BUILT_BY ]
|
|
settings:
|
|
username:
|
|
from_secret: DOCKER_USERNAME
|
|
password:
|
|
from_secret: DOCKER_TOKEN
|
|
repo: docker.io/hrfee/jfa-go
|
|
tags: latest
|
|
registry: docker.io
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
|
build_args:
|
|
- BUILT_BY: $BUILT_BY
|
|
- 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
|
|
|