fix(gha): use fedora instead of centos 7 for package publishing

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra 2023-10-05 07:13:12 +00:00 committed by poiana
parent f1dec8f444
commit a77e2dec10

View File

@ -23,17 +23,15 @@ env:
jobs: jobs:
publish-packages: publish-packages:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: docker.io/centos:7 container: docker.io/library/fedora:38
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Install dependencies - name: Install dependencies
run: | run: |
yum install epel-release -y dnf install rpm-sign expect which createrepo gpg python python-pip -y
yum update -y pip install awscli==1.29.60
yum install rpm-sign expect which createrepo gpg python python-pip -y
pip install awscli==1.19.47
# Configure AWS role; see https://github.com/falcosecurity/test-infra/pull/1102 # Configure AWS role; see https://github.com/falcosecurity/test-infra/pull/1102
# Note: master CI can only push dev packages as we have 2 different roles for master and release. # Note: master CI can only push dev packages as we have 2 different roles for master and release.