From be5dbe0535fc3e2223774f207e639f0faeb5b296 Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Wed, 15 Nov 2023 18:27:46 -0500 Subject: [PATCH] Use latest ubuntu (#2652) --- .github/workflows/release-update-repos.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-update-repos.yml b/.github/workflows/release-update-repos.yml index 1a6826c8be5..297f380ecc6 100644 --- a/.github/workflows/release-update-repos.yml +++ b/.github/workflows/release-update-repos.yml @@ -351,8 +351,7 @@ jobs: update-rpm: name: Update RPM Repository - runs-on: ubuntu-20.04 - container: ubuntu:18.04 + runs-on: ubuntu-latest environment: ${{ needs.setup.outputs.secrets-environment }} needs: setup env: @@ -398,10 +397,10 @@ jobs: env: DEBIAN_FRONTEND: noninteractive run: > - apt update && - apt install --yes --no-install-recommends + sudo apt update && + sudo apt install --yes --no-install-recommends gnupg - createrepo + createrepo-c awscli - name: Setup aws to upload installers to CLAW S3 bucket @@ -428,7 +427,7 @@ jobs: run: aws s3 sync --exclude "*" --include "releases/*/*installer*.rpm" s3://cf-cli-releases . - name: Sign repo - run: createrepo --checksum=sha . + run: createrepo_c --checksum=sha . - name: List assets run: ls -R