break changes: change container registry to gitea

This commit is contained in:
xkm
2026-05-08 06:42:43 +00:00
parent 42260e87cb
commit 1ee2c2a830

View File

@@ -11,12 +11,9 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- name: ubuntu:latest
dockerfile: ubuntu/Dockerfile
tag: ubuntu:latest
- name: ubuntu:26.04 - name: ubuntu:26.04
dockerfile: ubuntu/Dockerfile dockerfile: ubuntu/Dockerfile
tag: ubuntu:26.04 tags: gitea.starryskymeow.cn/cn/ubuntu:26.04
name: Build ${{ matrix.name }} name: Build ${{ matrix.name }}
@@ -27,13 +24,14 @@ jobs:
- name: Log in to Docker Hub - name: Log in to Docker Hub
uses: https://gitea.starryskymeow.cn/mirrors/docker-login-action@v4 uses: https://gitea.starryskymeow.cn/mirrors/docker-login-action@v4
with: with:
username: ${{ vars.DOCKER_USERNAME }} registry: gitea.starryskymeow.cn
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }} password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push - name: Build and push
run: | uses: https://gitea.starryskymeow.cn/mirrors/docker-build-push-action@v7
docker build --push \ with:
--platform=linux/amd64,linux/arm64 \ push: true
-f ${{ matrix.dockerfile }} \ platforms: linux/amd64,linux/arm64,linux/arm/v7
-t ${{ vars.DOCKER_USERNAME }}/${{ matrix.tag }} \ file: ${{ matrix.dockerfile }}
. tags: ${{ matrix.tags }}