From b444fbf4f35b15384b1d94e6797e63704e743639 Mon Sep 17 00:00:00 2001 From: Shwetha Gururaj Date: Wed, 1 Nov 2023 16:13:25 -0400 Subject: [PATCH] Use latest Ubuntu for RPM --- .github/workflows/release-update-repos.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-update-repos.yml b/.github/workflows/release-update-repos.yml index b59c321a536..4c62be1ce49 100644 --- a/.github/workflows/release-update-repos.yml +++ b/.github/workflows/release-update-repos.yml @@ -351,16 +351,15 @@ 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: CLAW_URL: ${{ needs.setup.outputs.claw-url }} VERSION_BUILD: ${{ needs.setup.outputs.version-build }} VERSION_MAJOR: ${{ needs.setup.outputs.version-major }} - steps: + steps: - name: Setup env: ENVIRONMENT: ${{ github.event.inputs.environment }} @@ -398,12 +397,12 @@ 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 uses: aws-actions/configure-aws-credentials@v3 env: @@ -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