diff --git a/.gitea/workflows/build-and-copy.yaml b/.gitea/workflows/build-and-copy.yaml index cbc07d9..149b994 100644 --- a/.gitea/workflows/build-and-copy.yaml +++ b/.gitea/workflows/build-and-copy.yaml @@ -15,6 +15,16 @@ jobs: uses: actions/setup-node@v3 with: node-version: 20.x + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Login to gitea container registry + uses: docker/login-action@v3 + with: + registry: git.lewisdale.dev + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} - name: Install dependencies 📦 run: npm ci - name: Cache build @@ -39,16 +49,6 @@ jobs: NODE_ENV: production OMNIVORE_API_KEY: ${{ secrets.OMNIVORE_API_KEY }} UMAMI_API_KEY: ${{ secrets.UMAMI_API_KEY }} - - name: Set up QEMU - uses: docker/setup-qemu-action@v3 - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - name: Login to gitea container registry - uses: docker/login-action@v3 - with: - registry: git.lewisdale.dev - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - name: Build and push uses: docker/build-push-action@v6 with: