chore(.circleci): test out container image publish for a specific Falco development version

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato
2020-12-17 13:21:40 +00:00
committed by poiana
parent 356b3e1451
commit 0c8b4a2127

View File

@@ -467,8 +467,9 @@ jobs:
apk update apk update
apk add --update groff less py-pip apk add --update groff less py-pip
pip install awscli pip install awscli
FALCO_VERSION=$(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3 | sed -e 's/^"//' -e 's/"$//') FALCO_VERSION="0.26.1-115+574e7f4"
docker build --build-arg VERSION_BUCKET=deb --build-arg FALCO_VERSION=${FALCO_VERSION} -t "public.ecr.aws/b4t6c0y6/falco:master" docker/falco # FALCO_VERSION=$(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3 | sed -e 's/^"//' -e 's/"$//')
docker build --build-arg VERSION_BUCKET=deb-dev --build-arg FALCO_VERSION=${FALCO_VERSION} -t "public.ecr.aws/b4t6c0y6/falco:master" docker/falco
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/b4t6c0y6 aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/b4t6c0y6
docker push "public.ecr.aws/b4t6c0y6/falco:master" docker push "public.ecr.aws/b4t6c0y6/falco:master"
# Publish the packages # Publish the packages