diff --git a/.github/workflows/buildkit.yml b/.github/workflows/buildkit.yml index 036afd2af7..6786626fb4 100644 --- a/.github/workflows/buildkit.yml +++ b/.github/workflows/buildkit.yml @@ -73,6 +73,12 @@ jobs: disabledFeatures="${disabledFeatures},merge_diff" fi echo "BUILDKIT_TEST_DISABLE_FEATURES=${disabledFeatures}" >> $GITHUB_ENV + # Expose `ACTIONS_RUNTIME_TOKEN` and `ACTIONS_CACHE_URL`, which is used + # in BuildKit's test suite to skip/unskip cache exporters: + # https://github.com/moby/buildkit/blob/567a99433ca23402d5e9b9f9124005d2e59b8861/client/client_test.go#L5407-L5411 + - + name: Expose GitHub Runtime + uses: crazy-max/ghaction-github-runtime@v2 - name: Checkout uses: actions/checkout@v3