diff --git a/.github/workflows/broken-link-checker.yml b/.github/workflows/broken-link-checker.yml index 5c3e07c78dd..3e5ac378573 100644 --- a/.github/workflows/broken-link-checker.yml +++ b/.github/workflows/broken-link-checker.yml @@ -23,7 +23,7 @@ jobs: # Only run the scheduled job in hyperledger/fabric repository, not on personal forks if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'hyperledger/fabric') name: "Check for Broken Links" - runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }} + runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }} steps: - name: Checkout Fabric Code uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9e74aa5f0be..2598c2f81c1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ on: env: GO_VER: 1.23.1 - UBUNTU_VER: 20.04 + UBUNTU_VER: 22.04 FABRIC_VER: ${{ github.ref_name }} DOCKER_REGISTRY: ${{ github.repository_owner == 'hyperledger' && 'docker.io' || 'ghcr.io' }} @@ -26,10 +26,10 @@ jobs: strategy: matrix: include: - - image: fabric-ubuntu-20.04 + - image: fabric-ubuntu-22.04 target: linux arch: amd64 - - image: fabric-ubuntu-20.04 + - image: fabric-ubuntu-22.04 target: linux arch: arm64 - image: macos-11 @@ -41,7 +41,7 @@ jobs: - image: fabric-windows-latest target: windows arch: amd64 - runs-on: fabric-ubuntu-20.04 + runs-on: fabric-ubuntu-22.04 steps: - name: Checkout Fabric Code uses: actions/checkout@v4 @@ -65,7 +65,7 @@ jobs: build-and-push-docker-images: name: Build and Push - runs-on: fabric-ubuntu-20.04 + runs-on: fabric-ubuntu-22.04 permissions: contents: read @@ -136,7 +136,7 @@ jobs: needs: - build-binaries - build-and-push-docker-images - runs-on: fabric-ubuntu-20.04 + runs-on: fabric-ubuntu-22.04 permissions: contents: write steps: diff --git a/.github/workflows/verify-build.yml b/.github/workflows/verify-build.yml index 43d830c821f..cf004d27d09 100644 --- a/.github/workflows/verify-build.yml +++ b/.github/workflows/verify-build.yml @@ -21,7 +21,7 @@ permissions: jobs: basic-checks: name: Basic Checks - runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }} + runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }} steps: - uses: actions/checkout@v4 name: Checkout Fabric Code @@ -36,7 +36,7 @@ jobs: unit-tests: name: Unit Tests needs: basic-checks - runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }} + runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }} env: GOEXPERIMENT: nocoverageredesign steps: @@ -59,7 +59,7 @@ jobs: fail-fast: false matrix: INTEGRATION_TEST_SUITE: ["raft","pvtdata","pvtdatapurge","ledger","lifecycle","e2e smartbft","discovery gossip devmode pluggable","gateway idemix pkcs11 configtx configtxlator","sbe nwo msp"] - runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }} + runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }} steps: - uses: actions/checkout@v4 name: Checkout Fabric Code diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index 0453fc51b19..4ed8a51bd90 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -16,7 +16,7 @@ jobs: scan: # Only run the scheduled job in hyperledger/fabric repository, not on personal forks if: github.event_name != 'schedule' || (github.event_name == 'schedule' && github.repository == 'hyperledger/fabric') - runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-20.04' || 'ubuntu-20.04' }} + runs-on: ${{ github.repository == 'hyperledger/fabric' && 'fabric-ubuntu-22.04' || 'ubuntu-22.04' }} strategy: fail-fast: false matrix: