2024-07-26 11:45:57 +00:00
|
|
|
when:
|
|
|
|
- event: push
|
|
|
|
branch: main
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
|
|
|
image: docker.io/woodpeckerci/plugin-docker-buildx
|
2024-07-26 15:24:41 +00:00
|
|
|
secrets: [ BUILT_BY ]
|
2024-07-26 11:45:57 +00:00
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: DOCKER_USERNAME
|
|
|
|
password:
|
|
|
|
from_secret: DOCKER_TOKEN
|
|
|
|
repo: docker.io/hrfee/jfa-go
|
2024-07-26 11:57:43 +00:00
|
|
|
tags: unstable
|
2024-07-26 11:45:57 +00:00
|
|
|
registry: docker.io
|
|
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
2024-07-26 15:24:41 +00:00
|
|
|
build_args:
|
|
|
|
- BUILT_BY: $BUILT_BY
|
2024-07-26 11:45:57 +00:00
|
|
|
- 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-unstable=true
|
|
|
|
|