diff --git a/.gitea/workflows/push.yml b/.gitea/workflows/push.yml index 0b5f1d0..dc2b6e6 100644 --- a/.gitea/workflows/push.yml +++ b/.gitea/workflows/push.yml @@ -5,21 +5,20 @@ jobs: runs-on: ubuntu-latest name: Push Docker image to Codeberg docker registry steps: - - name: Check out the repo - uses: actions/checkout@v3 - - - name: Install docker - uses: papodaca/install-docker-action@main - - - name: Log in to registry - uses: docker/login-action@v2 + - name: Checkout + uses: actions/checkout@v4 + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to Docker Hub + uses: docker/login-action@v3 with: username: aryak password: ${{ secrets.MOZHI_DOCKER_PASSWORD }} registry: codeberg.org - - name: Build and push Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile