build nextcloud image from source
Some checks failed
Build Keycloak / Build Keycloak Image (push) Successful in 2m15s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m14s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m17s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m44s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m42s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 40s
Build Nextcloud / Build Nextcloud 33 Image (push) Failing after 7m11s
Build Nextcloud / Build Nextcloud 34 Image (push) Failing after 7m5s
Some checks failed
Build Keycloak / Build Keycloak Image (push) Successful in 2m15s
Build Keycloak / Build Keycloak Image-2 (push) Successful in 2m14s
Build Keycloak / Build Keycloak Image-1 (push) Successful in 2m17s
Build Penpot / Build Image penpot-backend:2.1.2 (push) Failing after 3m44s
Build Penpot / Build Image penpot-exporter:2.1.2 (push) Failing after 3m42s
Build Penpot / Build Image penpot-frontend:2.1.2 (push) Failing after 40s
Build Nextcloud / Build Nextcloud 33 Image (push) Failing after 7m11s
Build Nextcloud / Build Nextcloud 34 Image (push) Failing after 7m5s
This commit is contained in:
parent
8a55eae92b
commit
fa3f4bb81f
2 changed files with 26 additions and 8 deletions
|
|
@ -17,18 +17,36 @@ jobs:
|
|||
nextcloud-version: [ 33, 34 ]
|
||||
steps:
|
||||
- name: Install required system packages
|
||||
run: apk add --no-cache nodejs
|
||||
run: apk add --no-cache nodejs git
|
||||
|
||||
- name: Checkout Source Code
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Build Container
|
||||
- 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/Containerfile"
|
||||
--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
|
||||
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 }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue