Add Woodpecker CI

This commit is contained in:
alyx 2022-09-15 12:32:11 -05:00
parent c9501d9829
commit b84ed466e2

25
.woodpecker.yml Normal file
View File

@ -0,0 +1,25 @@
pipeline:
build:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.tf/${CI_REPO_OWNER}/librejs-docker
registry: git.tf
dry-run: true
platforms: linux/amd64
when:
branch: ${CI_REPO_DEFAULT_BRANCH}
event: push
deploy:
image: woodpeckerci/plugin/docker/buildx
settings:
repo: git.tf/${CI_REPO_OWNER}/librejs-docker
registry: git.tf
platforms: linux/amd64
auto_tag: true
tag: latest
username: ${CI_REPO_OWNER}
password:
from_secret: cb_token
when:
event: tag