@@ -61,17 +61,12 @@ jobs:
6161 - " "
6262 - glibc
6363 steps :
64- -
65- name : Checkout
66- uses : actions/checkout@v4
67- with :
68- fetch-depth : 0
6964 -
7065 name : Set up Docker Buildx
7166 uses : docker/setup-buildx-action@v3
7267 -
7368 name : Build
74- uses : docker/bake-action@v5
69+ uses : docker/bake-action@v6
7570 with :
7671 targets : ${{ matrix.target }}
7772 set : |
@@ -104,8 +99,12 @@ jobs:
10499 if : ${{ github.event_name != 'pull_request' && github.repository == 'docker/cli' }}
105100 steps :
106101 -
107- name : Checkout
108- uses : actions/checkout@v4
102+ name : Login to DockerHub
103+ if : github.event_name != 'pull_request'
104+ uses : docker/login-action@v3
105+ with :
106+ username : ${{ secrets.DOCKERHUB_CLIBIN_USERNAME }}
107+ password : ${{ secrets.DOCKERHUB_CLIBIN_TOKEN }}
109108 -
110109 name : Set up QEMU
111110 uses : docker/setup-qemu-action@v3
@@ -123,20 +122,13 @@ jobs:
123122 type=ref,event=branch
124123 type=ref,event=pr
125124 type=sha
126- -
127- name : Login to DockerHub
128- if : github.event_name != 'pull_request'
129- uses : docker/login-action@v3
130- with :
131- username : ${{ secrets.DOCKERHUB_CLIBIN_USERNAME }}
132- password : ${{ secrets.DOCKERHUB_CLIBIN_TOKEN }}
133125 -
134126 name : Build and push image
135- uses : docker/bake-action@v5
127+ uses : docker/bake-action@v6
136128 with :
137129 files : |
138130 ./docker-bake.hcl
139- ${{ steps.meta.outputs.bake-file }}
131+ cwd:// ${{ steps.meta.outputs.bake-file }}
140132 targets : bin-image-cross
141133 push : ${{ github.event_name != 'pull_request' }}
142134 set : |
@@ -170,15 +162,12 @@ jobs:
170162 matrix :
171163 platform : ${{ fromJson(needs.prepare-plugins.outputs.matrix) }}
172164 steps :
173- -
174- name : Checkout
175- uses : actions/checkout@v4
176165 -
177166 name : Set up Docker Buildx
178167 uses : docker/setup-buildx-action@v3
179168 -
180169 name : Build
181- uses : docker/bake-action@v5
170+ uses : docker/bake-action@v6
182171 with :
183172 targets : plugins-cross
184173 set : |
0 commit comments