roll back to using ubuntu-22.04 images (#5456)

* roll back to using ubuntu-22.04 images

pending https://github.com/actions/runner-images/issues/11471 resolution, this moves us back to images that were working.

* move test back to latest
This commit is contained in:
Ross Smith 2025-01-28 19:51:03 -05:00 committed by GitHub
parent b5f58997bd
commit 936bd28ae4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 16 additions and 16 deletions

View file

@ -9,7 +9,7 @@ on:
jobs: jobs:
backport: backport:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
name: Backport name: Backport
steps: steps:
- name: Generate token - name: Generate token

View file

@ -17,7 +17,7 @@ jobs:
matrix: matrix:
go-version: [1.23.x] go-version: [1.23.x]
node-version: [16.x] node-version: [16.x]
platform: [ubuntu-latest] platform: [ubuntu-22.04]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

View file

@ -14,7 +14,7 @@ jobs:
# - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners (GitHub.com only) # - https://gh.io/using-larger-runners (GitHub.com only)
# Consider using larger runners or machines with greater resources for possible analysis time improvements. # Consider using larger runners or machines with greater resources for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-22.04' }}
permissions: permissions:
# required for all workflows # required for all workflows
security-events: write security-events: write

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
outputs: outputs:
sha-tag: ${{ steps.metadata.outputs.sha-tag }} sha-tag: ${{ steps.metadata.outputs.sha-tag }}
image: ${{ steps.metadata.outputs.image }} image: ${{ steps.metadata.outputs.image }}
@ -71,7 +71,7 @@ jobs:
org.opencontainers.image.revision=${{ github.sha }} org.opencontainers.image.revision=${{ github.sha }}
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
needs: publish needs: publish
steps: steps:
- name: Checkout Gitops Repo - name: Checkout Gitops Repo

View file

@ -8,7 +8,7 @@ on:
jobs: jobs:
publish: publish:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

View file

@ -9,7 +9,7 @@ on:
jobs: jobs:
lint: lint:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683

View file

@ -11,7 +11,7 @@ jobs:
permissions: permissions:
issues: write # for actions/stale to close stale issues issues: write # for actions/stale to close stale issues
pull-requests: write # for actions/stale to close stale PRs pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e - uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e
with: with:

View file

@ -13,7 +13,7 @@ jobs:
contents: write contents: write
issues: read issues: read
pull-requests: read pull-requests: read
runs-on: ubuntu-latest runs-on: ubuntu-22.04
env: env:
DOCKER_CLI_EXPERIMENTAL: "enabled" DOCKER_CLI_EXPERIMENTAL: "enabled"
outputs: outputs:
@ -117,7 +117,7 @@ jobs:
docker manifest push pomerium/pomerium:debug-nonroot docker manifest push pomerium/pomerium:debug-nonroot
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
needs: goreleaser needs: goreleaser
steps: steps:
- name: Checkout Gitops Repo - name: Checkout Gitops Repo

View file

@ -14,7 +14,7 @@ jobs:
matrix: matrix:
go-version: [1.23.x] go-version: [1.23.x]
node-version: [16.x] node-version: [16.x]
platform: [ubuntu-latest] platform: [ubuntu-22.04]
deployment: [multi, single] deployment: [multi, single]
authenticate-flow: [stateful, stateless] authenticate-flow: [stateful, stateless]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
@ -86,7 +86,7 @@ jobs:
run: make cover run: make cover
- uses: jandelgado/gcov2lcov-action@4e1989767862652e6ca8d3e2e61aabe6d43be28b - uses: jandelgado/gcov2lcov-action@4e1989767862652e6ca8d3e2e61aabe6d43be28b
if: matrix.platform == 'ubuntu-latest' if: matrix.platform == 'ubuntu-22.04'
name: convert coverage to lcov name: convert coverage to lcov
with: with:
infile: coverage.txt infile: coverage.txt
@ -94,13 +94,13 @@ jobs:
- name: upload to coveralls - name: upload to coveralls
uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8 uses: coverallsapp/github-action@cfd0633edbd2411b532b808ba7a8b5e04f76d2c8
if: matrix.platform == 'ubuntu-latest' if: matrix.platform == 'ubuntu-22.04'
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov path-to-lcov: coverage.lcov
build-docker: build-docker:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
@ -117,7 +117,7 @@ jobs:
cache-to: type=gha,mode=max cache-to: type=gha,mode=max
precommit: precommit:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
@ -142,7 +142,7 @@ jobs:
SKIP: lint SKIP: lint
check-docker-images: check-docker-images:
runs-on: ubuntu-latest runs-on: ubuntu-22.04
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683