update readme and workflow to use docker hub
This commit is contained in:
@@ -14,12 +14,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.toomuchtaco.net
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.PACKING_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_KEY }}
|
||||
|
||||
- name: Build and push CPU image
|
||||
uses: docker/build-push-action@v6
|
||||
@@ -28,8 +27,8 @@ jobs:
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: |
|
||||
git.toomuchtaco.net/${{ gitea.repository }}:latest
|
||||
git.toomuchtaco.net/${{ gitea.repository }}:cpu
|
||||
${{ secrets.DOCKER_HUB_USERNAME }}/glados-ladosp-tts:latest
|
||||
${{ secrets.DOCKER_HUB_USERNAME }}/glados-ladosp-tts:cpu
|
||||
|
||||
build-cuda:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -40,12 +39,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.toomuchtaco.net
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.PACKING_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_KEY }}
|
||||
|
||||
- name: Build and push CUDA image
|
||||
uses: docker/build-push-action@v6
|
||||
@@ -53,7 +51,7 @@ jobs:
|
||||
context: .
|
||||
file: Dockerfile.cuda
|
||||
push: true
|
||||
tags: git.toomuchtaco.net/${{ gitea.repository }}:cuda
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/glados-ladosp-tts:cuda
|
||||
|
||||
build-rocm:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -64,12 +62,11 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Log in to Gitea Container Registry
|
||||
- name: Log in to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.toomuchtaco.net
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.PACKING_TOKEN }}
|
||||
username: ${{ secrets.DOCKER_HUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_HUB_KEY }}
|
||||
|
||||
- name: Build and push ROCm image
|
||||
uses: docker/build-push-action@v6
|
||||
@@ -77,4 +74,4 @@ jobs:
|
||||
context: .
|
||||
file: Dockerfile.rocm
|
||||
push: true
|
||||
tags: git.toomuchtaco.net/${{ gitea.repository }}:rocm
|
||||
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/glados-ladosp-tts:rocm
|
||||
|
||||
Reference in New Issue
Block a user