#!/bin/bash
(docker build \
--tag cfn-lint:latest \
--quiet \
-<<EOF
FROM python:alpine
RUN pip install cfn-lint
WORKDIR /workdir
ENTRYPOINT ["cfn-lint"]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SOURCE_SUBSCRIPTION_ID='REPLACE_HERE' | |
SOURCE_REGISTRY_NAME='REPLACE_HERE' | |
DESTINATION_REGISTRY_NAME='REPLACE_HERE' | |
# Get a json array with repository list of you source registry | |
SOURCE_REPOSITORIES=$(az acr repository list \ | |
--name ${SOURCE_REGISTRY_NAME} \ | |
--subscription ${SOURCE_SUBSCRIPTION_ID}) |
NewerOlder