docker / build-push-action

GitHub Action to build and push Docker images with Buildx
https://github.com/marketplace/actions/build-and-push-docker-images
Apache License 2.0
4.24k stars 541 forks source link

cache image for different OS-Arch #916

Closed ghost closed 9 months ago

ghost commented 1 year ago

Hi

I used docker/build-push-action@2 to cache my docker images in github action cache. the problem arose when I use ubuntu-latest runner. but I want to create and cache linux/arm64 image.

Behaviour

Steps to reproduce this issue

  1. create linux/amd64 image
  2. cache linux/amd64 image

Expected behaviour

  1. It must create linux/arm64 image as I specified with platform property.
crazy-max commented 1 year ago

linux/amd65 :thinking:

ghost commented 1 year ago

linux/amd65 thinking

thanks, it corrected