mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2025-07-04 17:16:11 +00:00
Compare commits
1 Commits
version-23
...
125ea0a2f6
Author | SHA1 | Date | |
---|---|---|---|
125ea0a2f6 |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -3,7 +3,7 @@ name: build
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [ version-23 ]
|
||||
branches: [ master ]
|
||||
schedule:
|
||||
# Build the image regularly (each Friday)
|
||||
- cron: '23 04 * * 5'
|
||||
@ -19,6 +19,7 @@ jobs:
|
||||
- name: Build an image from Dockerfile
|
||||
run: |
|
||||
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 -c2) \
|
||||
.
|
||||
@ -45,6 +46,6 @@ jobs:
|
||||
|
||||
- name: Push image to GitHub
|
||||
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 -c2)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
# -------------- Build-time variables --------------
|
||||
ARG NEXTCLOUD_VERSION=23.0.12
|
||||
ARG NEXTCLOUD_VERSION=23.0.4
|
||||
ARG PHP_VERSION=8.0
|
||||
ARG NGINX_VERSION=1.20
|
||||
|
||||
|
Reference in New Issue
Block a user