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 <me@leonardograsso.com>
This commit is contained in:
Leonardo Grasso 2021-03-29 10:38:08 +02:00 committed by poiana
parent 0b69f210c4
commit f2c12bbf9c

View File

@ -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