From f2c12bbf9cfeb03fb5c97c61fa6130f7104424f6 Mon Sep 17 00:00:00 2001 From: Leonardo Grasso Date: Mon, 29 Mar 2021 10:38:08 +0200 Subject: [PATCH] fix(.circleci): tar must be present in the image Since `amazon/aws-cli` does not include the tar util (which must be present in the image, as per CircleCI requirement) we are switching from `amazon/aws-cli` to `centos`. See https://app.circleci.com/pipelines/github/falcosecurity/falco/1391/workflows/c1e1bc39-f008-4644-b8bf-45d1105e1978/jobs/11263 Signed-off-by: Leonardo Grasso --- .circleci/config.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 68305dff..751aba36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -371,15 +371,17 @@ jobs: # Publish the dev packages "publish/packages-dev": docker: - - image: docker.io/amazon/aws-cli:latest + - image: docker.io/centos:7 steps: - attach_workspace: at: / - run: name: Setup command: | + yum install epel-release -y yum update -y - yum install createrepo gpg tar -y + yum install createrepo gpg python python-pip -y + pip install awscli echo $GPG_KEY | base64 -d | gpg --import - run: name: Publish rpm-dev @@ -507,15 +509,17 @@ jobs: # Publish the packages "publish/packages": docker: - - image: docker.io/amazon/aws-cli:latest + - image: docker.io/centos:7 steps: - attach_workspace: at: / - run: name: Setup command: | + yum install epel-release -y yum update -y - yum install createrepo gpg tar -y + yum install createrepo gpg python python-pip -y + pip install awscli echo $GPG_KEY | base64 -d | gpg --import - run: name: Publish rpm