5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 14:11:41 +00:00
panel/.woodpecker.yml

47 lines
1.1 KiB
YAML
Raw Normal View History

2022-04-13 15:31:36 +00:00
pipeline:
assets:
image: "registry.nulo.in/sutty/panel:3.14.8-2.7.6"
commands:
- "apk add python2"
- "yarn"
- "RAILS_GROUPS=assets bundle install --path=vendor"
- "RAILS_GROUPS=assets bundle exec rails assets:precompile assets:clean"
- "git add assets && git commit -m \"[skip ci] JS\" || true"
when:
branch:
- "rails"
- "panel.sutty.nl"
path:
include:
- "app/assets/**/*"
- "app/javascript/**/*"
- "package.json"
- "yarn.lock"
2022-04-13 15:31:36 +00:00
publish:
image: plugins/docker
settings:
registry: registry.nulo.in
username: sutty
repo: registry.nulo.in/sutty/panel
tags:
- ${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
purge: false
secrets:
- docker_password
when:
2022-04-13 15:37:13 +00:00
branch:
- rails
- panel.sutty.nl
2022-04-13 15:31:36 +00:00
event: push
matrix:
include:
- ALPINE_VERSION: 3.14.8
2022-04-13 15:31:36 +00:00
RUBY_VERSION: 2.7
RUBY_PATCH: 6