woweb-poc/.woodpecker.yml

27 lines
628 B
YAML
Raw Normal View History

2023-02-23 11:11:28 +00:00
pipeline:
2023-03-09 09:57:25 +00:00
check:
image: docker.io/rust:1.67-alpine3.17
commands:
- apk --no-cache add cargo-deny make
- make check
release:
image: docker.io/rust:1.67-alpine3.17
when:
event: tag
commands:
- apk --no-cache add cargo-deny make
- make check
- make release
2023-02-23 11:11:28 +00:00
publish-docker-image:
image: plugins/kaniko
when:
event: tag
settings:
repo: docker.io/thallian/woweb
2023-02-23 11:11:28 +00:00
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
dockerfile: Dockerfile
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW