Compare commits

...

7 commits

3 changed files with 4 additions and 15 deletions

View file

@ -1,12 +0,0 @@
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,4 +1,4 @@
FROM docker.io/golang:1.21-alpine3.19 as builder
FROM docker.io/golang:1.24-alpine3.22 as builder
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
@ -13,14 +13,14 @@ RUN ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so
WORKDIR /build
ENV VERSION=v0.6.5
ENV VERSION=v0.7.5
RUN git clone https://github.com/mautrix/discord.git
WORKDIR /build/discord
RUN git checkout $VERSION
RUN go build -o /build/bin/mautrix-discord
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
FROM docker.io/thallian/confd-env:3.22-3.2.1.0
RUN addgroup -g 2222 matrix-bridge
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge

1
Jenkinsfile vendored Normal file
View file

@ -0,0 +1 @@
multiarch_container()