push to 0.6.4
This commit is contained in:
parent
f138a350f9
commit
2c886bc537
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal 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 }}
|
@ -1,11 +0,0 @@
|
||||
pipeline:
|
||||
publish-docker-image:
|
||||
image: plugins/kaniko
|
||||
settings:
|
||||
repo: docker.io/thallian/matrix-appservice-discord
|
||||
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
||||
dockerfile: Dockerfile
|
||||
username:
|
||||
from_secret: DOCKER_USER
|
||||
password:
|
||||
from_secret: DOCKER_PW
|
@ -1,6 +1,6 @@
|
||||
FROM docker.io/golang:1.20-alpine3.18 as builder
|
||||
FROM docker.io/golang:1.21-alpine3.19 as builder
|
||||
|
||||
ENV VERSION=v0.6.2
|
||||
ENV CGO_CFLAGS="-D_LARGEFILE64_SOURCE"
|
||||
|
||||
RUN apk --no-cache add \
|
||||
git \
|
||||
@ -12,13 +12,15 @@ RUN apk --no-cache add \
|
||||
RUN ln -s /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
ENV VERSION=v0.6.4
|
||||
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.18-3.1.5.0
|
||||
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
|
||||
|
||||
RUN addgroup -g 2222 matrix-bridge
|
||||
RUN adduser -h /var/lib/matrix-bridge -u 2222 -D -G matrix-bridge matrix-bridge
|
Loading…
Reference in New Issue
Block a user