Skip to content

Commit bf140de

Browse files
authored
use ubuntu-20.04 as run-on os to build sealer binary (#1934)
* make build linux by default on ubuntu-20.04 * modify sealer version on readme
1 parent 3f444e6 commit bf140de

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
build:
1515
name: ubuntu - Go v1.17
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-20.04
1717

1818
steps:
1919
- name: Install deps
@@ -59,7 +59,7 @@ jobs:
5959
shell: bash
6060
run: |
6161
export MULTI_PLATFORM_BUILD=true
62-
make build
62+
make linux
6363
working-directory: src/github.com/sealerio/sealer
6464

6565
- name: Save build binaries

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ permissions:
1111
jobs:
1212
note:
1313
name: Pre note
14-
runs-on: ubuntu-latest
14+
runs-on: ubuntu-20.04
1515
timeout-minutes: 5
1616
outputs:
1717
stringver: ${{ steps.contentrel.outputs.stringver }}
@@ -55,7 +55,7 @@ jobs:
5555

5656
strategy:
5757
matrix:
58-
os: [ ubuntu-latest ]
58+
os: [ ubuntu-20.04 ]
5959

6060
steps:
6161
- name: Install Go
@@ -88,7 +88,7 @@ jobs:
8888
shell: bash
8989
run: |
9090
export MULTI_PLATFORM_BUILD=true
91-
make build
91+
make linux
9292
working-directory: src/github.com/sealerio/sealer
9393

9494
- name: Save build binaries
@@ -100,7 +100,7 @@ jobs:
100100

101101
release:
102102
name: Create sealer Release
103-
runs-on: ubuntu-latest
103+
runs-on: ubuntu-20.04
104104
timeout-minutes: 10
105105
needs: [ build, note ]
106106

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ Download sealer binary file.
4949

5050
```shell script
5151
#install Sealer binaries
52-
wget https://github.com/sealerio/sealer/releases/download/v0.8.6/sealer-v0.8.6-linux-amd64.tar.gz && \
53-
tar zxvf sealer-v0.8.6-linux-amd64.tar.gz && mv sealer /usr/bin
52+
wget https://github.com/sealerio/sealer/releases/download/v0.9.0/sealer-v0.9.0-linux-amd64.tar.gz && \
53+
tar zxvf sealer-v0.9.0-linux-amd64.tar.gz && mv sealer /usr/bin
5454
```
5555

5656
Build a ClusterImage with Kubernetes dashboard:

0 commit comments

Comments
 (0)