Test gitea registry

This commit is contained in:
Ryan Freeman 2024-08-28 15:28:37 +01:00
parent 4a1b7fa6ef
commit dd25162cc5

View File

@ -22,15 +22,15 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{secrets.DOCKER_HUB_USERNAME}}
password: ${{secrets.DOCKER_HUB_PASSWORD}}
registry: git.ryansnet.xyz
username: ${{secrets.GITEA_REGISTRY_USERNAME}}
password: ${{secrets.GITEA_REGISTRY_PASSWORD}}
- name: Set up Docker Buildx
uses: https://github.com/docker/setup-buildx-action@v3
with:
config-inline: |
[registry."docker.io"]
mirrors = ["mirror.gcr.io"]
[registry."git.ryansnet.xyz"]
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v6