push to 32.0.2
This commit is contained in:
parent
7866ffc615
commit
ea303674e2
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/keycloak
|
|
||||||
tags: latest,${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG=pre}
|
|
||||||
dockerfile: Dockerfile
|
|
||||||
username:
|
|
||||||
from_secret: DOCKER_USER
|
|
||||||
password:
|
|
||||||
from_secret: DOCKER_PW
|
|
@ -1,14 +1,14 @@
|
|||||||
FROM docker.io/alpine:3.18 AS builder
|
FROM docker.io/alpine:3.19 AS builder
|
||||||
|
|
||||||
ENV VERSION=22.0.3
|
ENV VERSION=23.0.2
|
||||||
ENV SHA256_SUM=fe58029394c164042c5e50e59668eb6d0d9eaa564404522e07ac19f82b1a4d95
|
ENV SHA256_SUM=4711535fb8846d34388ff79e01d83b3fd1b7701c0520bc8cb59739a6bfdab612
|
||||||
|
|
||||||
RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz"
|
RUN wget "https://github.com/keycloak/keycloak/releases/download/$VERSION/keycloak-$VERSION.tar.gz"
|
||||||
RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1
|
RUN echo "$SHA256_SUM keycloak-$VERSION.tar.gz" | sha256sum -c - || exit 1
|
||||||
RUN mkdir -p /keycloak
|
RUN mkdir -p /keycloak
|
||||||
RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1
|
RUN tar xvf keycloak-$VERSION.tar.gz -C /keycloak --strip 1
|
||||||
|
|
||||||
FROM docker.io/thallian/alpine-s6:3.18-3.1.5.0
|
FROM docker.io/thallian/alpine-s6:3.19-3.1.6.2
|
||||||
|
|
||||||
ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true"
|
ENV JAVA_OPTS_APPEND="-Djava.net.preferIPv4Stack=false -Djava.net.preferIPv6Addresses=true"
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ RUN addgroup -g 2222 keycloak
|
|||||||
RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak
|
RUN adduser -h /home/keycloak -u 2222 -D -G keycloak keycloak
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
openjdk17-jre-headless \
|
openjdk21-jre-headless \
|
||||||
bash
|
bash
|
||||||
|
|
||||||
COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server
|
COPY --from=builder --chown=keycloak:keycloak /keycloak /home/keycloak/server
|
Loading…
Reference in New Issue
Block a user