many-dress-54535
12/08/2021, 3:37 PM# Environment variable for container command line
PURGE_CMD="acr purge \
--filter 'samples/devimage1:.*' --filter 'samples/devimage2:.*' \
--ago 0d --untagged"
az acr task create --name weeklyPurgeTask \
--cmd "$PURGE_CMD" \
--schedule "0 1 * * Sun" \
--registry myregistry \
--context /dev/null
I am trying to implement that using https://www.pulumi.com/registry/packages/azure-native/api-docs/containerregistry/task but I couldn't find a way to:
• Get the names of the acr repositories at each execution
• Pass the command as a stringNo matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by