Skip to content

Instantly share code, notes, and snippets.

@developer-guy
Created April 1, 2022 18:18
Show Gist options
  • Save developer-guy/0a990bfc2c695e2a334765f7489d89fa to your computer and use it in GitHub Desktop.
Save developer-guy/0a990bfc2c695e2a334765f7489d89fa to your computer and use it in GitHub Desktop.

Revisions

  1. developer-guy created this gist Apr 1, 2022.
    5 changes: 5 additions & 0 deletions create-multi-arch.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    docker buildx build -t devopps/hello-world-multi-arch:v1 \
    --push=true \
    --cache-from type=registry,ref=devopps/hello-world-multi-arch:cache \
    --cache-to type=registry,ref=devopps/hello-world-multi-arch:cache,mode=max \
    --platform linux/amd64,linux/arm64 .