use gitea actions

This commit is contained in:
Sebastian Hugentobler 2023-12-14 11:24:16 +01:00
parent a977e369b8
commit 70ed098d4a
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 14 additions and 13 deletions

View File

@ -0,0 +1,12 @@
name: Build Multiarch Container Image
on: [push]
jobs:
call-reusable-workflow:
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
sha: ${{ gitea.sha }}
registry_url: ${{ secrets.REGISTRY_URL }}
registry_user: ${{ secrets.REGISTRY_USER }}
registry_pw: ${{ secrets.REGISTRY_PW }}

View File

@ -1,11 +0,0 @@
pipeline:
publish-docker-image:
image: plugins/kaniko
settings:
repo: docker.io/thallian/airsonic
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
dockerfile: Dockerfile
username:
from_secret: DOCKER_USER
password:
from_secret: DOCKER_PW

View File

@ -1,4 +1,4 @@
FROM docker.io/alpine:3.18 AS builder FROM docker.io/alpine:3.19 AS builder
ENV VERSION=11.0.0-SNAPSHOT.20230217142243 ENV VERSION=11.0.0-SNAPSHOT.20230217142243
RUN apk add --no-cache \ RUN apk add --no-cache \
@ -15,7 +15,7 @@ RUN git apply mvn.patch
RUN mvn package -DskipTests RUN mvn package -DskipTests
FROM docker.io/thallian/confd-env:3.18-3.1.5.0 FROM docker.io/thallian/confd-env:3.19-3.1.6.2
ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8 ENV JAVA_OPTIONS=-Dfile.encoding=UTF-8 -Dsun.jnu.encoding=UTF-8
ENV AIRSONIC_DIR=/home/airsonic ENV AIRSONIC_DIR=/home/airsonic