Update .woodpecker.yml
This commit is contained in:
parent
2e00de7bfe
commit
4941460e0b
@ -1,7 +1,3 @@
|
|||||||
variables:
|
|
||||||
- &file Dockerfile
|
|
||||||
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
lint:
|
lint:
|
||||||
image: docker.io/node:16
|
image: docker.io/node:16
|
||||||
@ -16,9 +12,9 @@ steps:
|
|||||||
publish:
|
publish:
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
settings:
|
settings:
|
||||||
dockerfile: *file
|
dockerfile: Dockerfile
|
||||||
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
||||||
repo: *repo
|
repo: codeberg.org/${CI_REPO_OWNER}/safetwitch
|
||||||
registry: codeberg.org
|
registry: codeberg.org
|
||||||
tags: ${CI_COMMIT_TAG},latest
|
tags: ${CI_COMMIT_TAG},latest
|
||||||
username: ${CI_REPO_OWNER}
|
username: ${CI_REPO_OWNER}
|
||||||
@ -26,4 +22,4 @@ steps:
|
|||||||
from_secret: cb_token
|
from_secret: cb_token
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
path: *file
|
path: Dockerfile
|
Loading…
x
Reference in New Issue
Block a user