push to 0.15.1
Some checks failed
Build Multiarch Container Image / call-reusable-workflow (push) Has been cancelled

This commit is contained in:
Sebastian Hugentobler 2024-01-02 11:56:36 +01:00
parent 915ea9eb02
commit 6f4dfc6e92
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
3 changed files with 16 additions and 14 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/matrix-appservice-telegram
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,6 +1,5 @@
FROM docker.io/alpine:3.18 as builder
FROM docker.io/alpine:3.19 as builder
ENV VERSION=v0.14.2
RUN apk --no-cache add \
sed \
@ -33,6 +32,8 @@ RUN apk --no-cache add \
py3-yarl \
py3-mako
ENV VERSION=v0.15.1
RUN git clone https://github.com/mautrix/telegram.git
WORKDIR /telegram
RUN git checkout "$VERSION"
@ -41,7 +42,7 @@ RUN pip3 install --prefix=/install --upgrade -r optional-requirements.txt
RUN cp -r mautrix_telegram /install/lib/python3.11/site-packages/
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 FFMPEG_BINARY=/usr/bin/ffmpeg