From 63102a7ba2aa00a0950cd31ac2e9b400f73e3abb Mon Sep 17 00:00:00 2001 From: jansel Date: Sat, 15 Feb 2025 03:32:32 +0100 Subject: [PATCH] change registry to DigitalOcean --- .github/workflows/root.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/root.yml b/.github/workflows/root.yml index 6bedbb5..d4e06c8 100644 --- a/.github/workflows/root.yml +++ b/.github/workflows/root.yml @@ -43,21 +43,21 @@ jobs: uses: docker/login-action@v3 with: - registry: pi5:8125 - username: ${{ github.repository_owner }} - password: ${{ secrets.PW }} + registry: registry.digitalocean.com + username: ${{ secrets.DOMAIL }} + password: ${{ secrets.DOKEY }} - name: Build the Docker image - run: docker build -t pi5:8125/jansel/feixiao:latest -t pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }} . + run: docker build -t registry.digitalocean.com/jansel/feixiao:latest -t registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }} . - name: Push the Docker image related to this workflow - run: docker push pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }} + run: docker push registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }} - name: Push the latest Docker image - run: docker push pi5:8125/jansel/feixiao:latest + run: docker push registry.digitalocean.com/jansel/feixiao:latest - name: Remove the Docker image - run: docker rmi pi5:8125/jansel/feixiao:${{ steps.date.outputs.date }} + run: docker rmi registry.digitalocean.com/jansel/feixiao:${{ steps.date.outputs.date }} - name: Force remove the latest Docker image - run: docker rmi pi5:8125/jansel/feixiao:latest --force + run: docker rmi registry.digitalocean.com/jansel/feixiao:latest --force