mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 04:16:21 +00:00
33 lines
828 B
YAML
33 lines
828 B
YAML
pipeline:
|
|
publish:
|
|
image: "docker.io/woodpeckerci/plugin-docker-buildx"
|
|
settings:
|
|
registry: "gitea.nulo.in"
|
|
username: "sutty"
|
|
repo: "gitea.nulo.in/sutty/panel"
|
|
tags:
|
|
- "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}-${CI_COMMIT_BRANCH}"
|
|
- "latest"
|
|
build_args:
|
|
- "RUBY_VERSION=${RUBY_VERSION}"
|
|
- "RUBY_PATCH=${RUBY_PATCH}"
|
|
- "ALPINE_VERSION=${ALPINE_VERSION}"
|
|
- "BASE_IMAGE=gitea.nulo.in/sutty/rails"
|
|
purge: false
|
|
secrets:
|
|
- "DOCKER_PASSWORD"
|
|
when:
|
|
branch:
|
|
- "rails"
|
|
- "17.3.alpine.panel.sutty.nl"
|
|
event: "push"
|
|
path:
|
|
include:
|
|
- "Dockerfile"
|
|
- ".dockerignore"
|
|
- ".woodpecker.yml"
|
|
matrix:
|
|
include:
|
|
- ALPINE_VERSION: "3.17.3"
|
|
RUBY_VERSION: "3.1"
|
|
RUBY_PATCH: "4"
|