Skip to content

Commit

Permalink
ci: switch environment to ubuntu-20.04 (#1838)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangzujian committed Aug 22, 2022
1 parent eded551 commit 07773cb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-arm64-image.yaml
Expand Up @@ -20,7 +20,7 @@ env:
jobs:
build:
name: Build arm64
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-dpdk-image.yaml
Expand Up @@ -4,7 +4,7 @@ on: workflow_dispatch
jobs:
build:
name: Build DPDK
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Expand Up @@ -17,7 +17,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/lint.yaml
Expand Up @@ -14,12 +14,10 @@ env:
jobs:
golangci:
name: lint
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3

- name: Set up Go 1.x
uses: actions/setup-go@v3
- uses: actions/setup-go@v3
with:
go-version: '${{ env.GO_VERSION }}'
check-latest: true
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/push-multiarch-image.yaml
Expand Up @@ -11,13 +11,10 @@ on:
jobs:
build:
name: Push multi arch images
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3

- name: Docker Buildx
uses: docker/setup-buildx-action@v2
- uses: actions/checkout@v3
- uses: docker/setup-buildx-action@v2

- name: Push
if: ${{ github.ref == 'refs/heads/master' || contains(github.ref, 'release') }}
Expand Down

0 comments on commit 07773cb

Please sign in to comment.