mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-01 06:37:22 +00:00
new(.circleci): build and publish docker images
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
committed by
poiana
parent
272bb59df4
commit
906585d31a
@@ -201,17 +201,25 @@ jobs:
|
|||||||
# Publish docker packages
|
# Publish docker packages
|
||||||
"publish/docker-dev":
|
"publish/docker-dev":
|
||||||
docker:
|
docker:
|
||||||
- image: buildpack-deps:bionic
|
- image: docker:stable
|
||||||
steps:
|
steps:
|
||||||
|
- checkout
|
||||||
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
name: Publish slim-dev
|
name: Build and publish slim-dev
|
||||||
command: echo "slim-dev"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=deb-dev -t falcosecurity/falco:master-slim docker/slim
|
||||||
|
docker push falcosecurity/falco:master-slim
|
||||||
- run:
|
- run:
|
||||||
name: Publish minimal-dev
|
name: Build and publish minimal-dev
|
||||||
command: echo "minimal-dev"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=bin-dev -t falcosecurity/falco:master-minimal docker/minimal
|
||||||
|
docker push falcosecurity/falco:master-minimal
|
||||||
- run:
|
- run:
|
||||||
name: Publish dev
|
name: Build and publish dev
|
||||||
command: echo "dev"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=deb-dev -t falcosecurity/falco:master docker/dev
|
||||||
|
docker push falcosecurity/falco:master
|
||||||
# Publish the packages
|
# Publish the packages
|
||||||
"publish/packages":
|
"publish/packages":
|
||||||
docker:
|
docker:
|
||||||
@@ -244,17 +252,31 @@ jobs:
|
|||||||
# Publish docker packages
|
# Publish docker packages
|
||||||
"publish/docker":
|
"publish/docker":
|
||||||
docker:
|
docker:
|
||||||
- image: buildpack-deps:trusty
|
- image: docker:stable
|
||||||
steps:
|
steps:
|
||||||
|
- checkout
|
||||||
|
- setup_remote_docker
|
||||||
- run:
|
- run:
|
||||||
name: Publish slim
|
name: Build and publish slim
|
||||||
command: echo "slim"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=deb -t "falcosecurity/falco:${CIRCLE_TAG}-slim" docker/slim
|
||||||
|
docker tag "falcosecurity/falco:${CIRCLE_TAG}-slim" falcosecurity/falco:latest-slim
|
||||||
|
docker push "falcosecurity/falco:${CIRCLE_TAG}-slim"
|
||||||
|
docker push "falcosecurity/falco:latest-slim"
|
||||||
- run:
|
- run:
|
||||||
name: Publish minimal
|
name: Build and publish minimal
|
||||||
command: echo "minimal"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=bin -t "falcosecurity/falco:${CIRCLE_TAG}-minimal" docker/minimal
|
||||||
|
docker tag "falcosecurity/falco:${CIRCLE_TAG}-minimal" falcosecurity/falco:latest-minimal
|
||||||
|
docker push "falcosecurity/falco:${CIRCLE_TAG}-minimal"
|
||||||
|
docker push "falcosecurity/falco:latest-minimal"
|
||||||
- run:
|
- run:
|
||||||
name: Publish stable
|
name: Build and publish stable
|
||||||
command: echo "stable"
|
command: |
|
||||||
|
docker build --build-arg VERSION_BUCKET=deb -t "falcosecurity/falco:${CIRCLE_TAG}" docker/stable
|
||||||
|
docker tag "falcosecurity/falco:${CIRCLE_TAG}" falcosecurity/falco:latest
|
||||||
|
docker push "falcosecurity/falco:${CIRCLE_TAG}"
|
||||||
|
docker push "falcosecurity/falco:latest"
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
build_and_test:
|
build_and_test:
|
||||||
|
Reference in New Issue
Block a user