Compare commits

..

No commits in common. "main" and "move_build_to_container" have entirely different histories.

4 changed files with 11 additions and 30 deletions

View file

@ -21,7 +21,7 @@ jobs:
run: apk add --no-cache nodejs
- name: Checkout Source Code
uses: actions/checkout@v7
uses: actions/checkout@v6
- name: Build Container
env:

View file

@ -14,34 +14,15 @@ jobs:
image: ghcr.io/osscontainertools/kaniko:alpine
strategy:
matrix:
# renovate: datasource=docker depName=docker.io/library/nextcloud
nextcloud-version: [ 33, 34 ]
steps:
- name: Install required system packages
run: apk add --no-cache nodejs git
run: apk add --no-cache nodejs
- name: Checkout source code
uses: actions/checkout@v7
- name: Checkout Source Code
uses: actions/checkout@v6
- name: Checkout nextcloud/docker
run: git clone --depth 1 https://github.com/nextcloud/docker.git nextcloud-docker
- name: Build base Nextcloud image
env:
KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions
KANIKO_GIT_HAMBURG_CCC_DE_PASSWORD: ${{ secrets.PACKAGES_TOKEN }}
run: /kaniko/executor
--dockerfile="${{ forgejo.workspace }}/nextcloud-docker/${{ matrix.nextcloud-version }}/apache/Dockerfile"
--context="dir://${{ forgejo.workspace }}/nextcloud-docker/${{ matrix.nextcloud-version }}/apache"
--build-arg=TAG=${{ matrix.nextcloud-version }}
--destination=git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${{ matrix.nextcloud-version }}
--no-push-cache
--credential-helpers=env
--annotation=org.opencontainers.image.ref.name=nextcloud-base
--annotation=org.opencontainers.image.source=${{ forgejo.server_url }}/${{ forgejo.repository }}
- name: Build extended image
- name: Build Container
env:
KANIKO_NO_PUSH: ${{ forgejo.ref_name != 'main' }}
KANIKO_GIT_HAMBURG_CCC_DE_USER: forgejo-actions

View file

@ -1,6 +1,6 @@
ARG TAG=latest
FROM debian:13-slim as attribute-endpoints-provider-builder
FROM debian:12-slim as attribute-endpoints-provider-builder
RUN apt-get update \
&& apt-get install --no-install-recommends --no-install-suggests -y maven git \

View file

@ -1,5 +1,5 @@
ARG TAG
FROM git.hamburg.ccc.de/ccchh/oci-images/nextcloud-base:${TAG}
ARG TAG=latest
FROM docker.io/library/nextcloud:${TAG}
RUN apt-get update \
&& apt-get install -y supervisor \