27 lines
756 B
YAML
27 lines
756 B
YAML
pipeline:
|
|
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
|
|
- 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
|
|
- 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
|