File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -54,11 +54,16 @@ jobs:
54
54
- name : Host - upgrade
55
55
run : sudo apt-get -y upgrade
56
56
57
- - name : Host - Install host qemu-static
58
- run : sudo apt-get install -y qemu binfmt-support qemu-user-static
57
+ - name : Host - Install qemu-static and binfmt-support from lunar ${{ github.event.inputs.distinct_id }}
58
+ run : |
59
+ qemuuserstatic="$(curl -sL 'https://api.launchpad.net/1.0/ubuntu/+archive/primary?ws.op=getPublishedSources&pocket=Release&source_name=qemu&exact_match=true' | jq -r '.entries[0].source_package_version')"
60
+ binfmtsupport="$(curl -sL 'https://api.launchpad.net/1.0/ubuntu/+archive/primary?ws.op=getPublishedSources&pocket=Release&source_name=binfmt-support&exact_match=true' | jq -r '.entries[0].source_package_version')"
61
+
62
+ curl -sLo qemuuserstatic.deb "http://nl.archive.ubuntu.com/ubuntu/pool/universe/q/qemu/qemu-user-static_${qemuuserstatic#*:}_amd64.deb"
63
+ curl -sLo binfmtsupport.deb "http://nl.archive.ubuntu.com/ubuntu/pool/universe/b/binfmt-support/binfmt-support_${binfmtsupport}_amd64.deb"
59
64
60
- - name : Host - Docker multiarch bootstrap
61
- run : sudo docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
65
+ sudo dpkg -i qemuuserstatic.deb
66
+ sudo dpkg -i binfmtsupport.deb
62
67
63
68
- name : Host - Create Docker template env file
64
69
run : |
You can’t perform that action at this time.
0 commit comments