woweb-poc/.woodpecker.yml

26 lines
737 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 --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing add cargo-deny make
2023-03-09 09:57:25 +00:00
- make check
release:
image: docker.io/rust:1.67-alpine3.17
when:
event: tag
commands:
- apk --no-cache add --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing cargo-deny make
2023-03-09 09:57:25 +00:00
- 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