From 1ee2c2a830b4b7edf53de2bae8325d72e1d971f4 Mon Sep 17 00:00:00 2001 From: xkm Date: Fri, 8 May 2026 06:42:43 +0000 Subject: [PATCH] break changes: change container registry to gitea --- .gitea/workflows/ubuntu.yaml | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/.gitea/workflows/ubuntu.yaml b/.gitea/workflows/ubuntu.yaml index 3c54b19..42e5367 100644 --- a/.gitea/workflows/ubuntu.yaml +++ b/.gitea/workflows/ubuntu.yaml @@ -11,12 +11,9 @@ jobs: fail-fast: false matrix: include: - - name: ubuntu:latest - dockerfile: ubuntu/Dockerfile - tag: ubuntu:latest - name: ubuntu:26.04 dockerfile: ubuntu/Dockerfile - tag: ubuntu:26.04 + tags: gitea.starryskymeow.cn/cn/ubuntu:26.04 name: Build ${{ matrix.name }} @@ -27,13 +24,14 @@ jobs: - name: Log in to Docker Hub uses: https://gitea.starryskymeow.cn/mirrors/docker-login-action@v4 with: - username: ${{ vars.DOCKER_USERNAME }} + registry: gitea.starryskymeow.cn + username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push - run: | - docker build --push \ - --platform=linux/amd64,linux/arm64 \ - -f ${{ matrix.dockerfile }} \ - -t ${{ vars.DOCKER_USERNAME }}/${{ matrix.tag }} \ - . \ No newline at end of file + uses: https://gitea.starryskymeow.cn/mirrors/docker-build-push-action@v7 + with: + push: true + platforms: linux/amd64,linux/arm64,linux/arm/v7 + file: ${{ matrix.dockerfile }} + tags: ${{ matrix.tags }} \ No newline at end of file