mirror of
https://github.com/falcosecurity/falco.git
synced 2025-08-07 01:03:53 +00:00
chore(.circleci): switch to falcosecurity slug for AWS ECR registry
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
parent
0c8b4a2127
commit
36e9c2ba17
@ -467,11 +467,10 @@ 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="0.26.1-115+574e7f4"
|
FALCO_VERSION=$(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3 | sed -e 's/^"//' -e 's/"$//')
|
||||||
# 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/falcosecurity/falco:master" docker/falco
|
||||||
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/falcosecurity
|
||||||
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/falcosecurity/falco:master"
|
||||||
docker push "public.ecr.aws/b4t6c0y6/falco:master"
|
|
||||||
# Publish the packages
|
# Publish the packages
|
||||||
"publish/packages":
|
"publish/packages":
|
||||||
docker:
|
docker:
|
||||||
@ -553,10 +552,10 @@ 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
|
||||||
docker build --build-arg VERSION_BUCKET=deb --build-arg FALCO_VERSION=${CIRCLE_TAG} -t "public.ecr.aws/b4t6c0y6/falco:${CIRCLE_TAG}" docker/falco
|
docker build --build-arg VERSION_BUCKET=deb --build-arg FALCO_VERSION=${CIRCLE_TAG} -t "public.ecr.aws/falcosecurity/falco:${CIRCLE_TAG}" docker/falco
|
||||||
docker tag "public.ecr.aws/b4t6c0y6/falco:${CIRCLE_TAG}" public.ecr.aws/b4t6c0y6/falco:latest
|
docker tag "public.ecr.aws/falcosecurity/falco:${CIRCLE_TAG}" public.ecr.aws/falcosecurity/falco:latest
|
||||||
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/falcosecurity
|
||||||
docker push "public.ecr.aws/b4t6c0y6/falco:${CIRCLE_TAG}"
|
docker push "public.ecr.aws/falcosecurity/falco:${CIRCLE_TAG}"
|
||||||
docker push "public.ecr.aws/b4t6c0y6/falco:latest"
|
docker push "public.ecr.aws/b4t6c0y6/falco:latest"
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
@ -623,9 +622,9 @@ workflows:
|
|||||||
tags:
|
tags:
|
||||||
ignore: /.*/
|
ignore: /.*/
|
||||||
branches:
|
branches:
|
||||||
only: jonah-ci-aws-ecr-registry # todo > revert to master before to merge
|
only: master
|
||||||
requires:
|
requires:
|
||||||
- build/centos7 # Switch with "publish/docker-dev" once passes
|
- publish/docker-dev
|
||||||
- "quality/static-analysis"
|
- "quality/static-analysis"
|
||||||
release:
|
release:
|
||||||
jobs:
|
jobs:
|
||||||
|
Loading…
Reference in New Issue
Block a user