Skip to content

Commit

Permalink
fix(.circleci): tar must be present in the image
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
leogr authored and poiana committed Mar 29, 2021
1 parent 0b69f21 commit f2c12bb
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f2c12bb

Please sign in to comment.