mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-04 09:06:12 +00:00
Compare commits
16 Commits
8b15621860
...
version-22
Author | SHA1 | Date | |
---|---|---|---|
3715ca5861 | |||
f44824f946 | |||
7e7c77ea75 | |||
5c9c873713 | |||
eeac6d79d9 | |||
c0229eabd6 | |||
7240120ac3 | |||
1a61a40cad | |||
90381a94d0 | |||
0b0a1da864 | |||
2bfc5e0eec | |||
d2861829ac | |||
e72b5f41c7 | |||
a5d934b8a9 | |||
8c9f6b6cb7 | |||
9867cd0938 |
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ name: build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ master ]
|
||||
branches: [ version-22 ]
|
||||
schedule:
|
||||
# Build the image regularly (each Friday)
|
||||
- cron: '23 04 * * 5'
|
||||
@ -19,15 +19,14 @@ jobs:
|
||||
- name: Build an image from Dockerfile
|
||||
run: |
|
||||
docker build \
|
||||
-t ghcr.io/hoellen/nextcloud \
|
||||
-t ghcr.io/hoellen/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c6) \
|
||||
-t ghcr.io/hoellen/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2) \
|
||||
-t ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c6) \
|
||||
-t ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2) \
|
||||
.
|
||||
|
||||
- name: Run Trivy vulnerability scanner
|
||||
uses: aquasecurity/trivy-action@master
|
||||
with:
|
||||
image-ref: 'ghcr.io/hoellen/nextcloud'
|
||||
image-ref: 'ghcr.io/${{ github.actor }}/nextcloud'
|
||||
format: 'template'
|
||||
template: '@/contrib/sarif.tpl'
|
||||
output: 'trivy-results.sarif'
|
||||
@ -46,6 +45,5 @@ jobs:
|
||||
|
||||
- name: Push image to GitHub
|
||||
run: |
|
||||
docker push ghcr.io/hoellen/nextcloud
|
||||
docker push ghcr.io/hoellen/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c6)
|
||||
docker push ghcr.io/hoellen/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2)
|
||||
docker push ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c6)
|
||||
docker push ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2)
|
||||
|
@ -1,5 +1,5 @@
|
||||
# -------------- Build-time variables --------------
|
||||
ARG NEXTCLOUD_VERSION=23.0.0
|
||||
ARG NEXTCLOUD_VERSION=22.2.10
|
||||
ARG PHP_VERSION=8.0
|
||||
ARG NGINX_VERSION=1.20
|
||||
|
||||
|
Reference in New Issue
Block a user