This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
sitio/.woodpecker.yml

39 lines
1.2 KiB
YAML
Raw Normal View History

pipeline:
2023-03-10 19:42:04 +00:00
build-image:
2023-03-10 19:53:37 +00:00
image: docker.io/woodpeckerci/plugin-docker-buildx
secrets: [docker_username, docker_password]
# commands:
# - echo $REGISTRY_SECRET | img login --username Nulo --password-stdin gitea.nulo.in
# - img build -t gitea.nulo.in/nulo/sitio-build:latest tooling/Containerfile
# - img push gitea.nulo.in/nulo/sitio-build:latest
settings:
2023-03-10 19:56:06 +00:00
registry: https://gitea.nulo.in
username: Nulo
2023-03-10 19:53:37 +00:00
repo: gitea.nulo.in/nulo/sitio-build
dockerfile: tooling/Containerfile
2023-03-10 19:42:04 +00:00
when:
path:
include: ["tooling/*", ".woodpecker.yml"]
2023-03-10 19:42:04 +00:00
build:
image: gitea.nulo.in/nulo/sitio-build:latest
2023-03-28 16:44:00 +00:00
pull: true
2023-03-10 19:42:04 +00:00
commands:
- pnpm install
- ./tool refresh_feeds
- ./tool check
- ./tool build
2023-03-10 18:58:39 +00:00
- |
eval $(ssh-agent -s)
echo "$${SSH_KEY}" | tr -d '\r' | ssh-add -
mkdir -p ~/.ssh
echo "[nulo.in]:420,[186.136.121.7]:420 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGPkgRVWYcVcgjI0xAjDgZQsYuXU9edcya8zna01ibyUMlfKHIMD9yOoq0R+fQPTCqwiol/2tKMPJ2hlKshc+H8=" > ~/.ssh/known_hosts
- ./upload
when:
branch: ANTIFASCISTA
event: push
secrets:
- ssh_key