Some checks failed
Build Nextcloud / Build Nextcloud 32 Image (push) Successful in 1m18s
Build Nextcloud / Build Nextcloud 33 Image (push) Successful in 1m36s
Build Keycloak / Build Keycloak Image (push) Successful in 1m57s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 59s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 1m16s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 2m38s
39 lines
1.4 KiB
YAML
39 lines
1.4 KiB
YAML
name: Build Nextcloud
|
|
|
|
on:
|
|
workflow_dispatch: {}
|
|
push: {}
|
|
schedule:
|
|
- cron: "@daily"
|
|
|
|
jobs:
|
|
build-container:
|
|
name: Build Nextcloud ${{ matrix.nextcloud-version }} Image
|
|
runs-on: docker
|
|
container:
|
|
image: ghcr.io/osscontainertools/kaniko:alpine
|
|
strategy:
|
|
matrix:
|
|
nextcloud-version: [ 32, 33 ]
|
|
steps:
|
|
- name: Install required system packages
|
|
run: apk add --no-cache nodejs
|
|
|
|
- name: Checkout Source Code
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Build Container
|
|
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/Containerfile"
|
|
--context="dir://${{ forgejo.workspace }}/nextcloud"
|
|
--build-arg=TAG=${{ matrix.nextcloud-version }}
|
|
--destination=git.hamburg.ccc.de/ccchh/oci-images/nextcloud:${{ matrix.nextcloud-version }}
|
|
--no-push-cache
|
|
--credential-helpers=env
|
|
--annotation=org.opencontainers.image.ref.name=nextcloud
|
|
--annotation=org.opencontainers.image.url=${{ forgejo.server_url }}/${{ forgejo.repository }}
|
|
--annotation=org.opencontainers.image.source=${{ forgejo.server_url }}/${{ forgejo.repository }}
|