break changes: change container registry to gitea

This commit is contained in:
xkm
2026-05-08 06:25:11 +00:00
parent d374c96fbc
commit ba6e66a69f

View File

@@ -11,15 +11,12 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
include: include:
- name: debian:latest - name: debian:trixie
dockerfile: debian/Dockerfile dockerfile: debian/Dockerfile
tag: debian:latest tags: ${{ gitea.server_url }}/cn/debian:trixie,${{ gitea.server_url }}/cn/debian:latest
- name: debian-trixie
dockerfile: debian/Dockerfile
tag: debian:trixie
- name: debian:bookworm - name: debian:bookworm
dockerfile: debian/bookworm.Dockerfile dockerfile: debian/bookworm.Dockerfile
tag: debian:bookworm tags: ${{ gitea.server_url }}/cn/debian:bookworm
name: Build ${{ matrix.name }} name: Build ${{ matrix.name }}
@@ -30,13 +27,16 @@ 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.server_url }}
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:
-t ${{ vars.DOCKER_USERNAME }}/${{ matrix.tag }} \ - linux/amd64
. - linux/arm64
- linux/arm/v7
tags: ${{ matrix.tags }}