Skip to content

Commit b601fd8

Browse files
authored
Update GitHub Actions (#8)
1 parent dd4b3f5 commit b601fd8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/docker.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,17 +62,17 @@ jobs:
6262
name: "Sqlcmd v${{ matrix.version.sqlcmd }} (Alpine ${{ matrix.version.alpine }})"
6363

6464
steps:
65-
- uses: actions/checkout@v3
65+
- uses: actions/checkout@v5
6666

6767
- name: SQLServer Checksum
6868
id: sqlserver-checksum
6969
shell: bash
70-
run: |
70+
run: |
7171
echo "checksum=$(curl --silent -L --header 'Accept: application/vnd.docker.distribution.manifest.v2+json' 'https://mcr.microsoft.com/v2/mssql/server/manifests/2025-latest' | jq -r '.config.digest')" >> $GITHUB_OUTPUT
7272
7373
- name: Cache Docker Image
7474
id: docker-image-cache
75-
uses: actions/cache@v3
75+
uses: actions/cache@v4
7676
with:
7777
path: '*.tar'
7878
key: docker-image-cache-${{ runner.os }}-${{ steps.sqlserver-checksum.outputs.checksum }}
@@ -118,7 +118,7 @@ jobs:
118118
.
119119
120120
- name: Wait for SQLServer to become available
121-
uses: iFaxity/wait-on-action@v1.1.0
121+
uses: iFaxity/wait-on-action@v1.2.1
122122
with:
123123
resource: tcp:localhost:1433
124124
timeout: 1800000
@@ -157,7 +157,7 @@ jobs:
157157
158158
- name: Docker Hub login
159159
if: "${{ github.ref == 'refs/heads/main' }}"
160-
uses: azure/docker-login@v1
160+
uses: azure/docker-login@v2
161161
with:
162162
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
163163
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
@@ -237,17 +237,17 @@ jobs:
237237
name: "Sqlcmd v${{ matrix.version.sqlcmd }} (Ubuntu ${{ matrix.version.ubuntu }})"
238238

239239
steps:
240-
- uses: actions/checkout@v3
240+
- uses: actions/checkout@v5
241241

242242
- name: SQLServer Checksum
243243
id: sqlserver-checksum
244244
shell: bash
245-
run: |
245+
run: |
246246
echo "checksum=$(curl --silent -L --header 'Accept: application/vnd.docker.distribution.manifest.v2+json' 'https://mcr.microsoft.com/v2/mssql/server/manifests/2025-latest' | jq -r '.config.digest')" >> $GITHUB_OUTPUT
247247
248248
- name: Cache Docker Image
249249
id: docker-image-cache
250-
uses: actions/cache@v3
250+
uses: actions/cache@v4
251251
with:
252252
path: '*.tar'
253253
key: docker-image-cache-${{ runner.os }}-${{ steps.sqlserver-checksum.outputs.checksum }}
@@ -287,7 +287,7 @@ jobs:
287287
.
288288
289289
- name: Wait for SQLServer to become available
290-
uses: iFaxity/wait-on-action@v1.1.0
290+
uses: iFaxity/wait-on-action@v1.2.1
291291
with:
292292
resource: tcp:localhost:1433
293293
timeout: 1800000
@@ -325,7 +325,7 @@ jobs:
325325
326326
- name: Docker Hub login
327327
if: "${{ github.ref == 'refs/heads/main' }}"
328-
uses: azure/docker-login@v1
328+
uses: azure/docker-login@v2
329329
with:
330330
username: ${{ secrets.CONTAINER_REGISTRY_USERNAME }}
331331
password: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}

0 commit comments

Comments
 (0)