mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2025-01-03 11:20:07 -05:00
Update .woodpecker.yml
This commit is contained in:
parent
8f18aed5c7
commit
2e00de7bfe
1 changed files with 19 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
variables:
|
||||||
|
- &file Dockerfile
|
||||||
|
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
lint:
|
lint:
|
||||||
image: docker.io/node:16
|
image: docker.io/node:16
|
||||||
|
@ -9,3 +13,17 @@ steps:
|
||||||
image: docker.io/node:16
|
image: docker.io/node:16
|
||||||
commands:
|
commands:
|
||||||
- npm run build
|
- npm run build
|
||||||
|
publish:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: *file
|
||||||
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
||||||
|
repo: *repo
|
||||||
|
registry: codeberg.org
|
||||||
|
tags: ${CI_COMMIT_TAG},latest
|
||||||
|
username: ${CI_REPO_OWNER}
|
||||||
|
password:
|
||||||
|
from_secret: cb_token
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
path: *file
|
Loading…
Reference in a new issue