12 Commits
2 changed files with 6 additions and 22 deletions
+3 -19
View File
@@ -62,24 +62,8 @@ jobs:
${{ env.FULL_VERSION }}
${{ env.MAJOR_VERSION }}
- 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'
- name: Build and push Docker image
id: build-and-push
uses: docker/build-push-action@v2
with:
context: .
@@ -91,4 +75,4 @@ jobs:
if: ${{ github.event_name != 'pull_request' }}
env:
COSIGN_EXPERIMENTAL: "true"
run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.push.outputs.digest }}
run: cosign sign --yes ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}@${{ steps.build-and-push.outputs.digest }}
+3 -3
View File
@@ -1,5 +1,5 @@
# -------------- Build-time variables --------------
ARG NEXTCLOUD_VERSION=30.0.5
ARG NEXTCLOUD_VERSION=30.0.17
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.5.tar.bz2
ARG SHA256_SUM="248c6e6e612ceeeb170c4d25b8579b0af0e6613abdfa07f2fe6993426b781bea"
# nextcloud-30.0.17.tar.bz2
ARG SHA256_SUM="afa55728ed0a17257803d36373551f0fe429dd14abea410a24626e6ca424231b"
# Nextcloud Security <security@nextcloud.com> (D75899B9A724937A)
ARG GPG_FINGERPRINT="2880 6A87 8AE4 23A2 8372 792E D758 99B9 A724 937A"