2022-08-06 20:32:27 +00:00
|
|
|
pipeline:
|
2022-08-06 22:11:33 +00:00
|
|
|
build:
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dry_run: true
|
2022-08-06 23:17:02 +00:00
|
|
|
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
2022-08-06 22:11:33 +00:00
|
|
|
context: tools/wasm-pack-plugin
|
|
|
|
dockerfile: tools/wasm-pack-plugin/Dockerfile
|
|
|
|
when:
|
|
|
|
branch:
|
2022-08-06 23:17:02 +00:00
|
|
|
exclude: [main]
|
2022-08-06 22:11:33 +00:00
|
|
|
path:
|
|
|
|
include:
|
|
|
|
- tools/wasm-pack-plugin/*
|
|
|
|
- .woodpecker/tools-wasm-pack-plugin.yml
|
2022-08-06 20:32:27 +00:00
|
|
|
build and publish:
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
registry: git.koval.net
|
|
|
|
username: cyclane
|
|
|
|
password:
|
|
|
|
from_secret: DEPLOY_TOKEN
|
|
|
|
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
|
|
|
tags: latest
|
|
|
|
context: tools/wasm-pack-plugin
|
|
|
|
dockerfile: tools/wasm-pack-plugin/Dockerfile
|
2022-08-06 23:47:25 +00:00
|
|
|
debug: true
|
2022-08-06 20:32:27 +00:00
|
|
|
when:
|
2022-08-06 23:17:02 +00:00
|
|
|
branch: main
|
2022-08-06 20:32:27 +00:00
|
|
|
path:
|
|
|
|
include:
|
|
|
|
- tools/wasm-pack-plugin/*
|
|
|
|
- .woodpecker/tools-wasm-pack-plugin.yml
|