From 7b65f2fb605d4de822859343b7ff6415fc52c76f Mon Sep 17 00:00:00 2001 From: hoellen Date: Thu, 5 May 2022 07:25:30 +0200 Subject: [PATCH] Create branch for version 23 --- .github/workflows/build.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0afb3f9..3cb18bd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: build on: workflow_dispatch: push: - branches: [ master ] + branches: [ version-23 ] schedule: # Build the image regularly (each Friday) - cron: '23 04 * * 5' @@ -19,7 +19,6 @@ 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) \ . @@ -46,6 +45,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) +