ci: build and push docker image on master

This commit is contained in:
Philippe Loctaux 2023-03-19 23:50:26 +01:00
parent bad54cece3
commit 971d2f46f4
2 changed files with 14 additions and 1 deletions

13
.woodpecker/docker.yml Normal file
View file

@ -0,0 +1,13 @@
pipeline:
latest-master:
when:
branch: master
event: push
image: woodpeckerci/plugin-docker-buildx
settings:
registry: https://gitea.y.z.x4m3.rocks
username: ${CI_REPO_OWNER}
password:
from_secret: DOCKER_PASSWORD
repo: gitea.y.z.x4m3.rocks/${CI_REPO_OWNER}/ezidam
tag: latest

View file

@ -1,6 +1,6 @@
LABEL maintainer="Philippe Loctaux <p@philippeloctaux.com>" LABEL maintainer="Philippe Loctaux <p@philippeloctaux.com>"
FROM clux/muslrust:1.67.0-stable as chef FROM clux/muslrust:stable as chef
USER root USER root
RUN cargo install cargo-chef RUN cargo install cargo-chef
WORKDIR /ezidam WORKDIR /ezidam