Skip to content

Instantly share code, notes, and snippets.

@cpuguy83
Created August 12, 2023 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cpuguy83/9db53b1811756bb699e32b7ede625ed5 to your computer and use it in GitHub Desktop.
Save cpuguy83/9db53b1811756bb699e32b7ede625ed5 to your computer and use it in GitHub Desktop.
Example buildkit policy
{
"rules": [
{
"action": "CONVERT",
"selector": {
"identifier": "docker-image://docker.io/library/golang:1.20-bullseye"
},
"updates": {
"identifier": "docker-image://mcr.microsoft.com/oss/go/microsoft/golang:1.20-bullseye"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment