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