mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-23 10:57:59 +00:00
fix(.circleci): docker minimal images need exact FALCO_VERSION
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
committed by
poiana
parent
4a8d8a049f
commit
8481b94f4c
@@ -203,6 +203,8 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
- image: docker:stable
|
- image: docker:stable
|
||||||
steps:
|
steps:
|
||||||
|
- attach_workspace:
|
||||||
|
at: /
|
||||||
- checkout
|
- checkout
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
@@ -214,7 +216,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build and publish minimal-dev
|
name: Build and publish minimal-dev
|
||||||
command: |
|
command: |
|
||||||
docker build --build-arg VERSION_BUCKET=bin-dev -t falcosecurity/falco:master-minimal docker/minimal
|
FALCO_VERSION=$(sed -e 's/^"//' -e 's/"$//' <<< $(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3))
|
||||||
|
docker build --build-arg VERSION_BUCKET=bin-dev FALCO_VERSION=${FALCO_VERSION} -t falcosecurity/falco:master-minimal docker/minimal
|
||||||
echo ${DOCKERHUB_SECRET} | docker login -u ${DOCKERHUB_USER} --password-stdin
|
echo ${DOCKERHUB_SECRET} | docker login -u ${DOCKERHUB_USER} --password-stdin
|
||||||
docker push falcosecurity/falco:master-minimal
|
docker push falcosecurity/falco:master-minimal
|
||||||
- run:
|
- run:
|
||||||
@@ -257,6 +260,8 @@ jobs:
|
|||||||
docker:
|
docker:
|
||||||
- image: docker:stable
|
- image: docker:stable
|
||||||
steps:
|
steps:
|
||||||
|
- attach_workspace:
|
||||||
|
at: /
|
||||||
- checkout
|
- checkout
|
||||||
- setup_remote_docker
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
@@ -270,7 +275,8 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Build and publish minimal
|
name: Build and publish minimal
|
||||||
command: |
|
command: |
|
||||||
docker build --build-arg VERSION_BUCKET=bin -t "falcosecurity/falco:${CIRCLE_TAG}-minimal" docker/minimal
|
FALCO_VERSION=$(sed -e 's/^"//' -e 's/"$//' <<< $(cat /build/release/userspace/falco/config_falco.h | grep 'FALCO_VERSION ' | cut -d' ' -f3))
|
||||||
|
docker build --build-arg VERSION_BUCKET=bin FALCO_VERSION=${FALCO_VERSION} -t "falcosecurity/falco:${CIRCLE_TAG}-minimal" docker/minimal
|
||||||
docker tag "falcosecurity/falco:${CIRCLE_TAG}-minimal" falcosecurity/falco:latest-minimal
|
docker tag "falcosecurity/falco:${CIRCLE_TAG}-minimal" falcosecurity/falco:latest-minimal
|
||||||
echo ${DOCKERHUB_SECRET} | docker login -u ${DOCKERHUB_USER} --password-stdin
|
echo ${DOCKERHUB_SECRET} | docker login -u ${DOCKERHUB_USER} --password-stdin
|
||||||
docker push "falcosecurity/falco:${CIRCLE_TAG}-minimal"
|
docker push "falcosecurity/falco:${CIRCLE_TAG}-minimal"
|
||||||
|
Reference in New Issue
Block a user