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 }}