File tree 2 files changed +14
-4
lines changed
2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 67
67
sudo mv /tmp/sealos /usr/bin/sealos
68
68
sudo sealos version
69
69
- name : Build
70
- run : export CLOUD_VERSION=${{ github.event.release.tag_name }} && export ARCH=amd64 && bash ./scripts/cloud/build-offline-tar.sh
70
+ run : |
71
+ export CLOUD_VERSION=${{ github.event.release.tag_name }}
72
+ export VERSION=${{ github.event.release.tag_name }}
73
+ export ARCH=amd64
74
+ bash ./scripts/cloud/build-offline-tar.sh
71
75
- name : Setup ossutil
72
76
uses :
manyuanrong/[email protected]
73
77
with :
@@ -99,7 +103,11 @@ jobs:
99
103
sudo mv /tmp/sealos /usr/bin/sealos
100
104
sudo sealos version
101
105
- name : Build
102
- run : export CLOUD_VERSION=${{ github.event.release.tag_name }} && VERSION=${{ github.event.release.tag_name }} && export ARCH=arm64 && bash ./scripts/cloud/build-offline-tar.sh
106
+ run : |
107
+ export CLOUD_VERSION=${{ github.event.release.tag_name }}
108
+ export VERSION=${{ github.event.release.tag_name }}
109
+ export ARCH=arm64
110
+ bash ./scripts/cloud/build-offline-tar.sh
103
111
- name : Setup ossutil
104
112
uses :
manyuanrong/[email protected]
105
113
with :
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ CLOUD_VERSION=${CLOUD_VERSION:-"latest"}
8
8
mkdir -p output/tars
9
9
10
10
images=(
11
- docker.io/labring/sealos-cloud:$CLOUD_VERSION
12
11
docker.io/labring/kubernetes:v1.28.11
13
12
docker.io/labring/helm:v3.14.1
14
13
docker.io/labring/cilium:v1.15.8
@@ -34,11 +33,14 @@ for image in "${images[@]}"; do
34
33
fi
35
34
done
36
35
36
+ sealos pull --platform " linux/$ARCH " ghcr.io/labring/sealos-cloud:$CLOUD_VERSION
37
+ sealos tag ghcr.io/labring/sealos-cloud:$CLOUD_VERSION docker.io/labring/sealos-cloud:$CLOUD_VERSION
38
+ sealos save -o output/tars/sealos-cloud.tar docker.io/labring/sealos-cloud:$CLOUD_VERSION
37
39
38
40
# get and save cli
39
41
mkdir -p output/cli
40
42
41
- VERSION=" v5.0.1-beta2 "
43
+ VERSION=" v5.0.1"
42
44
43
45
wget https://github.com/labring/sealos/releases/download/${VERSION} /sealos_${VERSION# v} _linux_${ARCH} .tar.gz \
44
46
&& tar zxvf sealos_${VERSION# v} _linux_${ARCH} .tar.gz sealos && chmod +x sealos && mv sealos output/cli
You can’t perform that action at this time.
0 commit comments