mirror of https://github.com/hrfee/jfa-go
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
771 B
30 lines
771 B
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
|
|
|