break changes: change container registry to gitea
This commit is contained in:
@@ -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 }} \
|
||||
.
|
||||
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 }}
|
||||
Reference in New Issue
Block a user