33 lines
905 B
YAML
33 lines
905 B
YAML
pipeline:
|
|
build:
|
|
image: plugins/docker
|
|
settings:
|
|
dry_run: true
|
|
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
|
|
context: tools/wasm-pack-plugin
|
|
dockerfile: tools/wasm-pack-plugin/Dockerfile
|
|
when:
|
|
branch:
|
|
exclude: [main]
|
|
path:
|
|
include:
|
|
- tools/wasm-pack-plugin/*
|
|
- .woodpecker/tools-wasm-pack-plugin.yml
|
|
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
|
|
debug: true
|
|
when:
|
|
branch: main
|
|
path:
|
|
include:
|
|
- tools/wasm-pack-plugin/*
|
|
- .woodpecker/tools-wasm-pack-plugin.yml |