ci: build and push docker image on master
This commit is contained in:
parent
bad54cece3
commit
971d2f46f4
2 changed files with 14 additions and 1 deletions
13
.woodpecker/docker.yml
Normal file
13
.woodpecker/docker.yml
Normal 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
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
LABEL maintainer="Philippe Loctaux <p@philippeloctaux.com>"
|
||||
|
||||
FROM clux/muslrust:1.67.0-stable as chef
|
||||
FROM clux/muslrust:stable as chef
|
||||
USER root
|
||||
RUN cargo install cargo-chef
|
||||
WORKDIR /ezidam
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue