77 tags-ignore :
88 - ' *'
99 workflow_dispatch :
10+ inputs :
11+ debug_enabled :
12+ type : boolean
13+ description : ' Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
14+ required : false
15+ default : false
1016
1117# set docker tag for all steps
1218env :
1319 DOCKERTAG : nightly
20+ DOCKER_BUILD_SUMMARY : 0
21+ DOCKER_BUILD_RECORD_UPLOAD : 0
1422
1523jobs :
1624 docker_build :
@@ -31,27 +39,32 @@ jobs:
3139 platform : arm64
3240 steps :
3341 - name : Check out the repo
34- uses : actions/checkout@v4
42+ uses : actions/checkout@v6
3543
3644 - name : Log in to Docker Hub
37- uses : docker/login-action@v3
45+ uses : docker/login-action@v4
3846 with :
3947 username : ${{ secrets.DOCKER_USERNAME }}
4048 password : ${{ secrets.DOCKER_PASSWORD }}
4149
4250 - name : Log in to GitHub Docker Registry
43- uses : docker/login-action@v3
51+ uses : docker/login-action@v4
4452 with :
4553 registry : ghcr.io
4654 username : ${{ secrets.REGISTRY_USER }}
4755 password : ${{ secrets.PTA }}
4856
4957 - name : Build and Push
50- uses : docker/build-push-action@v6
58+ uses : docker/build-push-action@v7
5159 with :
5260 push : true
5361 file : Dockerfile.omd-labs-${{ matrix.os }}
54- build-args : OMD_VERSION=${{ github.ref }}
62+ sbom : false
63+ provenance : false
64+ build-args : |
65+ OMD_VERSION=${{ github.ref }}
66+ INSTALL_COMMON_RETRIES=3
67+ BUILDKIT_MULTI_PLATFORM=0
5568 tags : |
5669 consol/omd-labs-${{ matrix.os }}:${{ env.DOCKERTAG }}-${{ matrix.target.platform }}
5770 ghcr.io/consol/omd-labs-docker/omd-labs-${{ matrix.os }}:${{ env.DOCKERTAG }}-${{ matrix.target.platform }}
@@ -70,21 +83,25 @@ jobs:
7083 - rocky
7184 - debian
7285 steps :
73- - uses : actions/checkout@v4
86+ - uses : actions/checkout@v6
7487
7588 - name : Log in to Docker Hub
76- uses : docker/login-action@v3
89+ uses : docker/login-action@v4
7790 with :
7891 username : ${{ secrets.DOCKER_USERNAME }}
7992 password : ${{ secrets.DOCKER_PASSWORD }}
8093
8194 - name : Log in to GitHub Docker Registry
82- uses : docker/login-action@v3
95+ uses : docker/login-action@v4
8396 with :
8497 registry : ghcr.io
8598 username : ${{ secrets.REGISTRY_USER }}
8699 password : ${{ secrets.PTA }}
87100
101+ - name : Setup tmate session, see https://github.com/marketplace/actions/debugging-with-tmate
102+ uses : mxschmitt/action-tmate@v3
103+ if : ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }}
104+
88105 - name : push manifest to dockerhub
89106 run : |
90107 docker manifest create consol/omd-labs-${{ matrix.os }}:${{ env.DOCKERTAG }} \
0 commit comments