3232
3333 - name : Set up Docker Buildx
3434 uses : docker/setup-buildx-action@v3
35+ with :
36+ install : true
3537
3638 - name : Install Protobuf Compiler
3739 run : sudo apt-get update && sudo apt-get install protobuf-compiler -y
@@ -79,25 +81,21 @@ jobs:
7981
8082 - name : Build UKI with secrets
8183 run : |
82- CMDLINE="console=tty0 console=ttyS0,115200 earlyprintk=ttyS0,115200 consoleblank=0 "
84+ CMDLINE="console=tty0 console=ttyS0,115200 intel_iommu=on iommu=pt "
8385 echo $CMDLINE > target/cmdline
8486 mkdir -p keys
8587 echo "${{ secrets.SECUREBOOT_PRIVATEKEY }}" > keys/secureboot.key
8688 echo "${{ secrets.SECUREBOOT_CERTIFICATE }}" > keys/secureboot.pem
8789 openssl x509 -in keys/secureboot.pem -out keys/feos.crt -outform DER
8890 make uki
8991
90- - name : Build nginx container
91- run : make nginx
92+ - name : Build and push multiarch nginx container
93+ uses : docker/build-push-action@v5
94+ with :
95+ context : .
96+ file : hack/Dockerfile.nginx
97+ platforms : linux/amd64,linux/arm64
98+ push : true
99+ tags : ${{ steps.meta.outputs.tags }}
100+ labels : ${{ steps.meta.outputs.labels }}
92101
93- - name : Tag and push Docker image
94- run : |
95- # Tag the locally built image with the registry tags
96- for tag in ${{ steps.meta.outputs.tags }}; do
97- docker tag feos-nginx $tag
98- done
99-
100- # Push all tags
101- for tag in ${{ steps.meta.outputs.tags }}; do
102- docker push $tag
103- done
0 commit comments