5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-10-04 23:26:56 +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" - "apk add python2"
- "yarn" - "yarn"
- "RAILS_GROUPS=assets bundle install --path=vendor" - "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" - "git add assets && git commit -m \"[skip ci] JS\" || true"
when: when:
branch: branch:
@ -18,29 +18,33 @@ pipeline:
- "package.json" - "package.json"
- "yarn.lock" - "yarn.lock"
publish: publish:
image: plugins/docker image: "plugins/docker"
settings: settings:
registry: registry.nulo.in registry: "registry.nulo.in"
username: sutty username: "sutty"
repo: registry.nulo.in/sutty/panel repo: "registry.nulo.in/sutty/panel"
tags: tags:
- ${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH} - "${ALPINE_VERSION}-${RUBY_VERSION}.${RUBY_PATCH}"
- latest - "latest"
build_args: build_args:
- 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=registry.nulo.in/sutty/rails"
purge: false purge: false
secrets: secrets:
- docker_password - "docker_password"
when: when:
branch: branch:
- rails - "rails"
- panel.sutty.nl - "panel.sutty.nl"
event: push event: "push"
path:
include:
- "Dockerfile"
- ".dockerignore"
matrix: matrix:
include: include:
- ALPINE_VERSION: 3.14.8 - ALPINE_VERSION: "3.14.8"
RUBY_VERSION: 2.7 RUBY_VERSION: "2.7"
RUBY_PATCH: 6 RUBY_PATCH: "6"