woweb-poc/.woodpecker.yml

27 lines
628 B
YAML

pipeline:
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
publish-docker-image:
image: plugins/kaniko
when:
event: tag
settings:
repo: docker.io/thallian/woweb
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
dockerfile: Dockerfile
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW