mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-05 09:36:15 +00:00
Compare commits
6 Commits
version-30
...
1967e5952a
Author | SHA1 | Date | |
---|---|---|---|
1967e5952a | |||
ec5ddfc310 | |||
5b0c07e2d8 | |||
996eefa858 | |||
aee6dc8d01 | |||
758c4c813a |
22
.github/workflows/build.yml
vendored
22
.github/workflows/build.yml
vendored
@ -62,8 +62,24 @@ jobs:
|
||||
${{ env.FULL_VERSION }}
|
||||
${{ env.MAJOR_VERSION }}
|
||||
|
||||
- name: Build and push Docker image
|
||||
id: build-and-push
|
||||
- name: Build and export Docker image to Docker
|
||||
id: build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
load: true
|
||||
tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test
|
||||
context: .
|
||||
|
||||
- name: Test Docker image
|
||||
id: test-image
|
||||
run: |
|
||||
docker run -d -p 8888:8888 --name nextcloud --rm ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:test && \
|
||||
docker exec nextcloud occ status && \
|
||||
nc -z localhost 8888
|
||||
|
||||
- name: Push Docker image
|
||||
id: push
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
@ -75,4 +91,4 @@ jobs:
|
||||
if: ${{ github.event_name != 'pull_request' }}
|
||||
env:
|
||||
COSIGN_EXPERIMENTAL: "true"
|
||||
run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
|
||||
run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.push.outputs.digest }}
|
||||
|
@ -1,5 +1,5 @@
|
||||
# -------------- Build-time variables --------------
|
||||
ARG NEXTCLOUD_VERSION=30.0.12
|
||||
ARG NEXTCLOUD_VERSION=30.0.4
|
||||
ARG PHP_VERSION=8.3
|
||||
ARG NGINX_VERSION=1.26
|
||||
|
||||
@ -10,8 +10,8 @@ ARG SNUFFLEUPAGUS_VERSION=0.10.0
|
||||
ARG UID=1000
|
||||
ARG GID=1000
|
||||
|
||||
# nextcloud-30.0.12.tar.bz2
|
||||
ARG SHA256_SUM="9e19b25f42273d4361218426b4762a766bee408cfa6aa8219f8c27f72095a7a8"
|
||||
# nextcloud-30.0.4.tar.bz2
|
||||
ARG SHA256_SUM="eb6aaba9acef442f2b3e4a996b7ee8a5ed24442f9bba681237fb28ed970e1fa5"
|
||||
|
||||
# Nextcloud Security <security@nextcloud.com> (D75899B9A724937A)
|
||||
ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"
|
||||
|
Reference in New Issue
Block a user