Skip to content

Commit

Permalink
make build linux by default on ubuntu-20.04
Browse files Browse the repository at this point in the history
  • Loading branch information
kakzhou719 committed Dec 24, 2022
1 parent e15cf7c commit 521362e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

build:
name: ubuntu - Go v1.17
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- name: Install deps
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
shell: bash
run: |
export MULTI_PLATFORM_BUILD=true
make build-in-docker
make linux
working-directory: src/github.com/sealerio/sealer

- name: Save build binaries
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions:
jobs:
note:
name: Pre note
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 5
outputs:
stringver: ${{ steps.contentrel.outputs.stringver }}
Expand Down Expand Up @@ -55,7 +55,7 @@ jobs:

strategy:
matrix:
os: [ ubuntu-latest ]
os: [ ubuntu-20.04 ]

steps:
- name: Install Go
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
shell: bash
run: |
export MULTI_PLATFORM_BUILD=true
make build-in-docker
make linux
working-directory: src/github.com/sealerio/sealer

- name: Save build binaries
Expand All @@ -100,7 +100,7 @@ jobs:

release:
name: Create sealer Release
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
timeout-minutes: 10
needs: [ build, note ]

Expand Down

0 comments on commit 521362e

Please sign in to comment.