diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 35dcb54d6..8d6cf9983 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -38,6 +38,18 @@ jobs: runs-on: depot-ubuntu-24.04-arm steps: + - uses: actions/checkout@v5 + with: + ref: refs/heads/master # force master + fetch-depth: 0 + + - name: Get dist from cache + uses: actions/cache/restore@v4 + id: cache-dist + with: + path: dist + key: ${{ runner.os }}-${{ github.sha }}-dist + - name: Login uses: docker/login-action@v3 with: @@ -59,6 +71,7 @@ jobs: - name: Publish uses: docker/build-push-action@v6 with: + context: . platforms: linux/amd64,linux/arm64,linux/arm/v6 push: true tags: ${{ steps.meta.outputs.tags }}