Skip to content

Commit

Permalink
Use latest Ubuntu for RPM (#2651)
Browse files Browse the repository at this point in the history
  • Loading branch information
gururajsh committed Nov 15, 2023
1 parent 03a1970 commit e8533f9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release-update-repos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit e8533f9

Please sign in to comment.