Grep for new RUNTIME_HASH

This commit is contained in:
andig 2019-04-26 19:27:00 +02:00 committed by Fernandez Ludovic
parent 591f07fd26
commit 3885bbcd23

View File

@ -11,7 +11,7 @@ OS=linux
declare -a PLATFORMS=( "amd64" "arm.v6" ) declare -a PLATFORMS=( "amd64" "arm.v6" )
# images from Dockerfile # images from Dockerfile
IMAGE=$(grep "FROM alpine" < Dockerfile | sed "s/FROM //" | sed 's/\$.*//') IMAGE=$(grep "{RUNTIME_HASH}" < Dockerfile | sed "s/FROM //" | sed 's/\$.*//')
# manifest cache file # manifest cache file
MANIFEST_FILE=/tmp/manifest.$IMAGE.json MANIFEST_FILE=/tmp/manifest.$IMAGE.json