5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-23 01:46:21 +00:00

Merge branch 'ci' into panel.sutty.nl
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-04-06 11:20:03 -03:00
commit b5aecd2136

View file

@ -1,10 +1,10 @@
pipeline: pipeline:
publish: publish:
image: "plugins/docker" image: "docker.io/woodpeckerci/plugin-docker-buildx"
settings: settings:
registry: "registry.nulo.in" registry: "gitea.nulo.in"
username: "sutty" username: "sutty"
repo: "registry.nulo.in/sutty/panel" repo: "gitea.nulo.in/sutty/panel"
tags: tags:
- "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}" - "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
- "latest" - "latest"
@ -12,10 +12,10 @@ pipeline:
- "RUBY_VERSION=${RUBY_VERSION}" - "RUBY_VERSION=${RUBY_VERSION}"
- "RUBY_PATCH=${RUBY_PATCH}" - "RUBY_PATCH=${RUBY_PATCH}"
- "ALPINE_VERSION=${ALPINE_VERSION}" - "ALPINE_VERSION=${ALPINE_VERSION}"
- "BASE_IMAGE=registry.nulo.in/sutty/rails" - "BASE_IMAGE=gitea.nulo.in/sutty/rails"
purge: false purge: false
secrets: secrets:
- "docker_password" - "DOCKER_PASSWORD"
when: when:
branch: branch:
- "rails" - "rails"
@ -26,7 +26,7 @@ pipeline:
- "Dockerfile" - "Dockerfile"
- ".dockerignore" - ".dockerignore"
assets: assets:
image: "registry.nulo.in/sutty/panel:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}" image: "gitea.nulo.in/sutty/panel:${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
commands: commands:
- "apk add python2 dotenv openssh-client brotli" - "apk add python2 dotenv openssh-client brotli"
- "install -d -m 700 ~/.ssh/" - "install -d -m 700 ~/.ssh/"
@ -64,6 +64,6 @@ pipeline:
- "yarn.lock" - "yarn.lock"
matrix: matrix:
include: include:
- ALPINE_VERSION: "3.14.8" - ALPINE_VERSION: "3.14.10"
RUBY_VERSION: "2.7" RUBY_VERSION: "2.7"
RUBY_PATCH: "6" RUBY_PATCH: "8"