File tree Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Expand file tree Collapse file tree 1 file changed +17
-5
lines changed Original file line number Diff line number Diff line change 1010jobs :
1111 recreate-oct-container-image :
1212 name : Create new OCT container image
13- runs-on : ubuntu-20 .04
13+ runs-on : ubuntu-22 .04
1414 env :
1515 SHELL : /bin/bash
1616
2121 ref : main
2222 token : ${{ secrets.PULL_TOKEN }}
2323
24- - name : Build OCT container image
25- run : docker build -t quay.io/testnetworkfunction/oct:latest --build-arg TOKEN=${{ secrets.PULL_TOKEN }} --no-cache .
24+ - name : Set up QEMU
25+ uses : docker/setup-qemu-action@v3
26+ - name : Set up Docker Buildx
27+ uses : docker/setup-buildx-action@v3
2628
2729 - name : Authenticate against Quay.io
2830 uses : docker/login-action@v3
3335 username : ${{ secrets.QUAY_ROBOT_USER }}
3436 password : ${{ secrets.QUAY_ROBOT_TOKEN }}
3537
36- - name : Push the newly built image to Quay.io
37- run : docker push quay.io/testnetworkfunction/oct:latest
38+ - name : Build and push the latest images for multi-arch
39+ uses : docker/build-push-action@v5
40+ with :
41+ context : .
42+ build-args : |
43+ TOKEN=${{ secrets.PULL_TOKEN }}
44+ file : ./Dockerfile
45+ platforms : linux/amd64,linux/arm64
46+ no-cache : true
47+ push : true
48+ tags : |
49+ quay.io/testnetworkfunction/oct:latest
You can’t perform that action at this time.
0 commit comments