mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-01 15:46:13 +00:00
Compare commits
10 Commits
master
...
version-23
Author | SHA1 | Date | |
---|---|---|---|
9cad43ff56 | |||
073ca00bf4 | |||
234d6354e9 | |||
acadfd905c | |||
f86b0b79d5 | |||
2bc7d31643 | |||
b372cdb499 | |||
e0f31f7fd0 | |||
3e538254d1 | |||
7b65f2fb60 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ name: build
|
|||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches: [ master ]
|
branches: [ version-23 ]
|
||||||
schedule:
|
schedule:
|
||||||
# Build the image regularly (each Friday)
|
# Build the image regularly (each Friday)
|
||||||
- cron: '23 04 * * 5'
|
- cron: '23 04 * * 5'
|
||||||
@ -19,7 +19,6 @@ jobs:
|
|||||||
- name: Build an image from Dockerfile
|
- name: Build an image from Dockerfile
|
||||||
run: |
|
run: |
|
||||||
docker build \
|
docker build \
|
||||||
-t ghcr.io/${{ github.actor }}/nextcloud \
|
|
||||||
-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 -c6) \
|
||||||
-t ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2) \
|
-t ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2) \
|
||||||
.
|
.
|
||||||
@ -46,6 +45,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Push image to GitHub
|
- name: Push image to GitHub
|
||||||
run: |
|
run: |
|
||||||
docker push ghcr.io/${{ github.actor }}/nextcloud
|
|
||||||
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 -c6)
|
||||||
docker push ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2)
|
docker push ghcr.io/${{ github.actor }}/nextcloud:$(grep -oP '(?<=NEXTCLOUD_VERSION=).*' Dockerfile | head -c2)
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# -------------- Build-time variables --------------
|
# -------------- Build-time variables --------------
|
||||||
ARG NEXTCLOUD_VERSION=23.0.3
|
ARG NEXTCLOUD_VERSION=23.0.12
|
||||||
ARG PHP_VERSION=8.0
|
ARG PHP_VERSION=8.0
|
||||||
ARG NGINX_VERSION=1.20
|
ARG NGINX_VERSION=1.20
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user