From 0ca90ccdac1542fed0825e9346b6479e2e84ec89 Mon Sep 17 00:00:00 2001 From: Attilio Greco Date: Mon, 13 Jan 2025 15:02:02 +0100 Subject: [PATCH] update CI --- .gitea/workflows/build-image.yml | 58 ++++++++++++++++---------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/.gitea/workflows/build-image.yml b/.gitea/workflows/build-image.yml index 59a4dca..016c5e0 100644 --- a/.gitea/workflows/build-image.yml +++ b/.gitea/workflows/build-image.yml @@ -2,7 +2,7 @@ name: Push web base image on: push: branches: - - main + - gitea-test release: types: [published, created, edited] pull_request: @@ -42,31 +42,31 @@ jobs: # driver-opts: | # image=moby/buildkit:v0.10.6 - - id: string - uses: ASzc/change-string-case-action@v5 - with: - string: ${{ github.repository_owner }} - - - name: Build and push base - uses: docker/build-push-action@v6 - with: - build-args: | - PYTHON_VERSION=${{ matrix.python }} - ALPINE_VERSION=${{ matrix.alpine }} - context: . - file: ./Docker/Dockerfile.base - platforms: linux/amd64,linux/arm64 - push: true - tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }} - - - name: Build and push Poetry - uses: docker/build-push-action@v6 - with: - build-args: | - PYTHON_VERSION=${{ matrix.python }} - ALPINE_VERSION=${{ matrix.alpine }} - context: . - file: ./Docker/Dockerfile.poetry - platforms: linux/amd64,linux/arm64 - push: true - tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/poetry:${{ matrix.python }}-alpine${{ matrix.alpine }} + # - id: string + # uses: ASzc/change-string-case-action@v5 + # with: + # string: ${{ github.repository_owner }} +# + # - name: Build and push base + # uses: docker/build-push-action@v6 + # with: + # build-args: | + # PYTHON_VERSION=${{ matrix.python }} + # ALPINE_VERSION=${{ matrix.alpine }} + # context: . + # file: ./Docker/Dockerfile.base + # platforms: linux/amd64,linux/arm64 + # push: true + # tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/python:${{ matrix.python }}-alpine${{ matrix.alpine }} +# + # - name: Build and push Poetry + # uses: docker/build-push-action@v6 + # with: + # build-args: | + # PYTHON_VERSION=${{ matrix.python }} + # ALPINE_VERSION=${{ matrix.alpine }} + # context: . + # file: ./Docker/Dockerfile.poetry + # platforms: linux/amd64,linux/arm64 + # push: true + # tags: ghcr.io/${{ steps.string.outputs.lowercase }}/web-base/poetry:${{ matrix.python }}-alpine${{ matrix.alpine }}