Skip to content

Instantly share code, notes, and snippets.

@lonegunmanb
Last active March 26, 2024 06:47
Show Gist options
  • Select an option

  • Save lonegunmanb/af91ce89eda5c54d8cb3ae8707436fbd to your computer and use it in GitHub Desktop.

Select an option

Save lonegunmanb/af91ce89eda5c54d8cb3ae8707436fbd to your computer and use it in GitHub Desktop.
docker run eol mcr image
docker run --rm --entrypoint=ash -e REGISTRY_USERNAME=<username> -e REGISTRY_ADMIN_PASSWORD=<password> -e REGISTRY_NAME=azureterraform.azurecr.io -e ARTIFACT_REFERENCE="azureterraform.azurecr.io/public/azterraform" -e SHA_DIGESTS="sha256:134342,sha256:3423423" ghcr.io/oras-project/oras:v1.1.0 -c "apk add curl bash && curl -H 'Cache-Control: no-cache, no-store' -sSL https://gist.githubusercontent.com/lonegunmanb/659b3b0ea566d5867ab1f23ebf2f11c0/raw/7c020f69fc4b8f0f0c3ba80948ec28feb244e661/eol.sh | bash"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment