6056f370f9
Build Media Mirror Worker / Build and publish (release) Successful in 3m30s
- workflow на release published: bootJar, build-docker (media-mirror/*), helm-publish (9.9.9 → tag) - helm: Chart.yaml placeholder 9.9.9, values, templates (deployment/service/configmap/secret) - env: DB, S3, Jellyfin через secret
36 lines
965 B
YAML
36 lines
965 B
YAML
name: 'Build Media Mirror Worker'
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
deploy-dev:
|
|
name: 'Build and publish'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: 'Checkout'
|
|
uses: https://github.com/actions/checkout@v4
|
|
|
|
- name: 'Config gradle repository replace'
|
|
uses: https://git.binom.pw/otp/devops/config-gradle@main
|
|
|
|
- name: 'Build bootJar'
|
|
uses: https://git.binom.pw/subochev/devops/build-gradle@main
|
|
with:
|
|
target: bootJar
|
|
|
|
- name: Build Docker Image
|
|
uses: https://git.binom.pw/subochev/devops/build-docker@main
|
|
with:
|
|
image_name: "media-mirror/worker"
|
|
tags: latest ${{ gitea.ref_name }}
|
|
context: './'
|
|
|
|
- name: 'Publishing Helm'
|
|
uses: https://git.binom.pw/subochev/devops/helm-publish@main
|
|
with:
|
|
chart_directory: 'helm'
|
|
helm_version: ${{ gitea.ref_name }}
|
|
helm_version_placeholder: '9.9.9'
|