Skip to content

Commit b721841

Browse files
committed
- Add extra suffix for docker artifact
1 parent 0df7780 commit b721841

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Checkout
55-
uses: actions/checkout@v3
55+
uses: actions/checkout@v4
5656

5757
- name: Setup .NET Core
5858
uses: actions/setup-dotnet@v3
@@ -90,7 +90,7 @@ jobs:
9090
if: ${{ matrix.os == 'ubuntu-latest' && matrix.self-contained == 'normal' }}
9191
uses: actions/upload-artifact@v4
9292
with:
93-
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}
93+
name: build-artifact-${{ matrix.target }}${{ matrix.suffix }}-docker
9494
path: |
9595
OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}${{ matrix.suffix }}.zip
9696
src/Dockerfile
@@ -177,10 +177,10 @@ jobs:
177177
args: unzip -qq ./OpenDirectoryDownloader-${{ steps.get_version.outputs.VERSION }}-${{ matrix.target }}.zip -d ./app
178178

179179
- name: Set up QEMU
180-
uses: docker/setup-qemu-action@v2
180+
uses: docker/setup-qemu-action@v3
181181

182182
- name: Set up Docker Buildx
183-
uses: docker/setup-buildx-action@v1
183+
uses: docker/setup-buildx-action@v3
184184

185185
- name: Login to DockerHub
186186
uses: docker/login-action@v1
@@ -190,7 +190,7 @@ jobs:
190190

191191
- name: Build and push
192192
id: docker_build
193-
uses: docker/build-push-action@v2
193+
uses: docker/build-push-action@v6
194194
with:
195195
context: .
196196
file: ./src/Dockerfile
@@ -203,10 +203,10 @@ jobs:
203203
runs-on: ubuntu-latest
204204
steps:
205205
- name: Set up Docker Buildx
206-
uses: docker/setup-buildx-action@v1
206+
uses: docker/setup-buildx-action@v3
207207

208208
- name: Login to DockerHub
209-
uses: docker/login-action@v1
209+
uses: docker/login-action@v3
210210
with:
211211
username: ${{ secrets.DOCKERHUB_USERNAME }}
212212
password: ${{ secrets.DOCKERHUB_TOKEN }}

0 commit comments

Comments
 (0)