We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I try to use the following within GH actions, the cache is not getting exported:
- name: Docker Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: docker buildx build --load --cache-from=type=gha --cache-to=type=gha,mode=max .
However, when using the official action the cache does get exported:
- name: Docker Build uses: docker/build-push-action@v2 with: context: . load: true cache-from: type=gha cache-to: type=gha,mode=max
Is gha cache only supported via the official Docker GH action?
The text was updated successfully, but these errors were encountered:
@dudicoco
You can use GHA cache backend without the official action, see https://github.com/moby/buildkit#github-actions-cache-experimental.
- name: Expose GitHub Runtime uses: crazy-max/ghaction-github-runtime@v1 - name: Docker Build env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: docker buildx build --load --cache-from=type=gha --cache-to=type=gha,mode=max .
Sorry, something went wrong.
Thanks @crazy-max!
No branches or pull requests
When I try to use the following within GH actions, the cache is not getting exported:
However, when using the official action the cache does get exported:
Is gha cache only supported via the official Docker GH action?
The text was updated successfully, but these errors were encountered: