diff --git a/.gitea/workflows/watchdog-build.yaml b/.gitea/workflows/watchdog-build.yaml index 5e36f2c..f126744 100644 --- a/.gitea/workflows/watchdog-build.yaml +++ b/.gitea/workflows/watchdog-build.yaml @@ -30,6 +30,11 @@ jobs: steps: - uses: actions/checkout@v3 - - run: docker login -u usbharu -p ${{ secrets.DEPLOY_TOKEN }} git.usbharu.dev + - uses: https://github.com/docker/setup-buildx-action@v3 + - uses: docker/login-action@v3 + with: + registry: git.usbharu.dev + username: usbharu + password: ${{ secrets.DEPLOY_TOKEN }} - run: docker build ./ watchdog-go -t latest -t ${{ github.sha }} - run: docker push git.usbharu.dev/usbharu/watchdog-go:${{ github.sha }} \ No newline at end of file