From abee504df18d0f22f1346f5141c2f304f02899bd Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 12 Dec 2023 08:58:52 +0000 Subject: [PATCH] ci: Integrate ci-tools --- Makefile | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/Makefile b/Makefile index 37fdcf8..1940230 100644 --- a/Makefile +++ b/Makefile @@ -1,23 +1,6 @@ VERSION ?= 1.16.0 REGISTRY := public.ecr.aws/zero-downtime -REPOSITORY := fluentd-concenter -TAG := $(REPOSITORY):v$(VERSION) +IMAGE := fluentd-concenter +REGION := us-east-1 -.PHONY: build push clean scan - -all: build - -build: - buildah bud --build-arg version=$(VERSION) -t $(TAG) . - -push: - aws ecr-public get-login-password --region us-east-1 | buildah login --username AWS --password-stdin $(REGISTRY) - buildah tag $(TAG) $(REGISTRY)/$(TAG) - buildah push $(REGISTRY)/$(TAG) - -clean: - podman rmi -f $(TAG) - -scan: - podman system service& - sleep 5; trivy $(TAG) +include .ci/podman.mk