game-algorithms/.woodpecker/tools-wasm-pack-plugin.yml

36 lines
971 B
YAML

pipeline:
build:
image: plugins/docker
settings:
dry_run: true
repo: git.koval.net/cyclane/game-algorithms/wasm-pack-plugin
tags: latest
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
ignore_message: "[ALL]"
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
when:
branch: main
path:
include:
- tools/wasm-pack-plugin/*
- .woodpecker/tools-wasm-pack-plugin.yml
ignore_message: "[ALL]"