mirror of
https://github.com/falcosecurity/falco.git
synced 2025-06-30 16:42:14 +00:00
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:
parent
0b69f210c4
commit
f2c12bbf9c
@ -371,15 +371,17 @@ jobs:
|
|||||||
# Publish the dev packages
|
# Publish the dev packages
|
||||||
"publish/packages-dev":
|
"publish/packages-dev":
|
||||||
docker:
|
docker:
|
||||||
- image: docker.io/amazon/aws-cli:latest
|
- image: docker.io/centos:7
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /
|
at: /
|
||||||
- run:
|
- run:
|
||||||
name: Setup
|
name: Setup
|
||||||
command: |
|
command: |
|
||||||
|
yum install epel-release -y
|
||||||
yum update -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
|
echo $GPG_KEY | base64 -d | gpg --import
|
||||||
- run:
|
- run:
|
||||||
name: Publish rpm-dev
|
name: Publish rpm-dev
|
||||||
@ -507,15 +509,17 @@ jobs:
|
|||||||
# Publish the packages
|
# Publish the packages
|
||||||
"publish/packages":
|
"publish/packages":
|
||||||
docker:
|
docker:
|
||||||
- image: docker.io/amazon/aws-cli:latest
|
- image: docker.io/centos:7
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /
|
at: /
|
||||||
- run:
|
- run:
|
||||||
name: Setup
|
name: Setup
|
||||||
command: |
|
command: |
|
||||||
|
yum install epel-release -y
|
||||||
yum update -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
|
echo $GPG_KEY | base64 -d | gpg --import
|
||||||
- run:
|
- run:
|
||||||
name: Publish rpm
|
name: Publish rpm
|
||||||
|
Loading…
Reference in New Issue
Block a user