From c545ef22d9a54cea2414a98f26fd42eaf6d29b23 Mon Sep 17 00:00:00 2001 From: andig Date: Sat, 6 Sep 2025 13:48:32 +0200 Subject: [PATCH] Revert "chore: remove checkout in favor of gha caching" This reverts commit 428ba44cee6782fafd7a2635f984bc2e09a0cf12. --- .github/workflows/nightly.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 }}