diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 6fd1db8..bdfa286 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -20,6 +20,13 @@ jobs: run: | apt-get update apt-get install docker.io -y + + - name: Login to DockerHub + uses: docker/login-action@v1 + with: + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx @@ -28,12 +35,6 @@ jobs: driver-opts: network=host platforms: linux/amd64,linux/arm64 - - name: Login to DockerHub - uses: docker/login-action@v1 - with: - username: ${{ secrets.DOCKERHUB_USERNAME }} - password: ${{ secrets.DOCKERHUB_TOKEN }} - - name: Build image uses: docker/build-push-action@v2 with: