From 52300e6069cc07ef01279f4f2fc89553e6a354bd Mon Sep 17 00:00:00 2001 From: afdesk Date: Mon, 12 Dec 2022 15:09:46 +0600 Subject: [PATCH] chore: update ubuntu version for Github action runnners (#3257) * chore: update ubuntu version for Github action runnners * update the ubuntu version for docs actions --- .github/workflows/mkdocs-dev.yaml | 2 +- .github/workflows/mkdocs-latest.yaml | 2 +- .github/workflows/release.yaml | 4 ++-- ci/deploy-rpm.sh | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mkdocs-dev.yaml b/.github/workflows/mkdocs-dev.yaml index 1b1e7ffaa1..55cbe00e90 100644 --- a/.github/workflows/mkdocs-dev.yaml +++ b/.github/workflows/mkdocs-dev.yaml @@ -9,7 +9,7 @@ on: jobs: deploy: name: Deploy the dev documentation - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout main uses: actions/checkout@v3 diff --git a/.github/workflows/mkdocs-latest.yaml b/.github/workflows/mkdocs-latest.yaml index 1f77c76d71..6586147726 100644 --- a/.github/workflows/mkdocs-latest.yaml +++ b/.github/workflows/mkdocs-latest.yaml @@ -11,7 +11,7 @@ on: jobs: deploy: name: Deploy the latest documentation - runs-on: ubuntu-18.04 + runs-on: ubuntu-22.04 steps: - name: Checkout main uses: actions/checkout@v3 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 23cb260f44..71c1042283 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -16,7 +16,7 @@ jobs: deploy-packages: name: Deploy rpm/dep packages needs: release # run this job after 'release' job completes - runs-on: ubuntu-18.04 # 20.04 doesn't provide createrepo for now + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v3 @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: | sudo apt-get -y update - sudo apt-get -y install rpm reprepro createrepo distro-info + sudo apt-get -y install rpm reprepro createrepo-c distro-info - name: Checkout trivy-repo uses: actions/checkout@v3 diff --git a/ci/deploy-rpm.sh b/ci/deploy-rpm.sh index fafdf33ea7..cb1c7d8286 100755 --- a/ci/deploy-rpm.sh +++ b/ci/deploy-rpm.sh @@ -10,7 +10,7 @@ function create_rpm_repo () { mkdir -p $rpm_path cp ../dist/*64bit.rpm ${rpm_path}/${RPM_EL} - createrepo --update $rpm_path + createrepo_c --update $rpm_path } cd trivy-repo