File tree Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Expand file tree Collapse file tree 4 files changed +5
-13
lines changed Original file line number Diff line number Diff line change 1414jobs :
1515 build :
1616 name : Build (${{ matrix.configuration.name }})
17- runs-on : ubuntu-20 .04
17+ runs-on : ubuntu-24 .04
1818
1919 strategy :
2020 matrix :
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ docker run --rm --privileged -it \
5050 -v /proc:/proc \
5151 -v ${PWD} :/working_dir \
5252 -w /working_dir \
53- ubuntu:22 .04 \
53+ ubuntu:24 .04 \
5454 ./build-rpi.sh
5555```
5656
@@ -61,7 +61,7 @@ docker run --rm --privileged -it \
6161 -v /proc:/proc \
6262 -v ${PWD} :/working_dir \
6363 -w /working_dir \
64- ubuntu:20 .04 \
64+ ubuntu:24 .04 \
6565 ./build-pinebookpro.sh
6666```
6767
Original file line number Diff line number Diff line change @@ -354,11 +354,7 @@ BUCKET="$4"
354354IMGPATH=" ${basedir} " /${imagename} .img.xz
355355IMGNAME=${channel} -pinebookpro/$( basename " $IMGPATH " )
356356
357- apt-get install -y curl python3 python3-distutils
358-
359- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
360- python3 get-pip.py
361- pip install boto3
357+ apt-get install -y python3 python3-boto3
362358
363359python3 upload.py " $KEY " " $SECRET " " $ENDPOINT " " $BUCKET " " $IMGPATH " " $IMGNAME " || exit 1
364360
Original file line number Diff line number Diff line change @@ -234,11 +234,7 @@ BUCKET="$4"
234234IMGPATH=" ${basedir} " /${imagename} .img.xz
235235IMGNAME=${channel} -rpi/$( basename " $IMGPATH " )
236236
237- apt-get install -y curl python3 python3-distutils
238-
239- curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
240- python3 get-pip.py
241- pip install boto3
237+ apt-get install -y python3 python3-boto3
242238
243239python3 upload.py " $KEY " " $SECRET " " $ENDPOINT " " $BUCKET " " $IMGPATH " " $IMGNAME " || exit 1
244240
You can’t perform that action at this time.
0 commit comments