From d005c916f1265f18f842ff7621cbba4de35d1ba7 Mon Sep 17 00:00:00 2001 From: Glaucio Campos <69731354+glauciocampos@users.noreply.github.com> Date: Sun, 14 May 2023 20:35:15 -0300 Subject: [PATCH] Added nextcloud 24 and 26 apache Signed-off-by: Glaucio Campos <69731354+glauciocampos@users.noreply.github.com> --- .github/workflows/docker-build-push.yml | 37 +++++++++++++++++++------ 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-build-push.yml b/.github/workflows/docker-build-push.yml index 36e5005c..9e437137 100644 --- a/.github/workflows/docker-build-push.yml +++ b/.github/workflows/docker-build-push.yml @@ -1,14 +1,11 @@ name: Docker Build and Push on: - push: - branches: - - "main" - - "test/*" workflow_dispatch: jobs: - docker: + docker_env: + name: Prepare docker env runs-on: ubuntu-latest steps: - @@ -26,11 +23,35 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push + + build_and_push_nc: + name: Build and Push + runs-on: backend + needs: docker_env + steps: + - + name: Nextcloud 24 Apache + uses: docker/build-push-action@v4 + with: + context: ./24/apache + platforms: linux/amd64,linux/arm64 + push: true + tags: glauciocampos/nextcloud-full:24-apache-latest + + - + name: Nextcloud 25 Apache uses: docker/build-push-action@v4 with: context: ./25/apache platforms: linux/amd64,linux/arm64 push: true - tags: ${{ secrets.DOCKERHUB_USERNAME }}/nextcloud-full:25-apache-latest \ No newline at end of file + tags: glauciocampos/nextcloud-full:25-apache-latest + + - + name: Nextcloud 26 Apache + uses: docker/build-push-action@v4 + with: + context: ./26/apache + platforms: linux/amd64,linux/arm64 + push: true + tags: glauciocampos/nextcloud-full:26-apache-latest