5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-05 21:15:44 +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-03-14 19:21:16 -03:00
commit 030ddf4801

View file

@ -5,7 +5,7 @@ pipeline:
- "apk add python2"
- "yarn"
- "RAILS_GROUPS=assets bundle install --path=vendor"
- "RAILS_GROUPS=assets bundle exec rails assets:precompile assets:clean"
- "RAILS_GROUPS=assets RAILS_MASTER_KEY=nada bundle exec rails assets:precompile assets:clean"
- "git add assets && git commit -m \"[skip ci] JS\" || true"
when:
branch:
@ -18,29 +18,33 @@ pipeline:
- "package.json"
- "yarn.lock"
publish:
image: plugins/docker
image: "plugins/docker"
settings:
registry: registry.nulo.in
username: sutty
repo: registry.nulo.in/sutty/panel
registry: "registry.nulo.in"
username: "sutty"
repo: "registry.nulo.in/sutty/panel"
tags:
- ${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}
- latest
- "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
- "latest"
build_args:
- RUBY_VERSION=${RUBY_VERSION}
- RUBY_PATCH=${RUBY_PATCH}
- ALPINE_VERSION=${ALPINE_VERSION}
- BASE_IMAGE=registry.nulo.in/sutty/rails
- "RUBY_VERSION=${RUBY_VERSION}"
- "RUBY_PATCH=${RUBY_PATCH}"
- "ALPINE_VERSION=${ALPINE_VERSION}"
- "BASE_IMAGE=registry.nulo.in/sutty/rails"
purge: false
secrets:
- docker_password
- "docker_password"
when:
branch:
- rails
- panel.sutty.nl
event: push
- "rails"
- "panel.sutty.nl"
event: "push"
path:
include:
- "Dockerfile"
- ".dockerignore"
matrix:
include:
- ALPINE_VERSION: 3.14.8
RUBY_VERSION: 2.7
RUBY_PATCH: 6
- ALPINE_VERSION: "3.14.8"
RUBY_VERSION: "2.7"
RUBY_PATCH: "6"