Skip to content

Commit 865d002

Browse files
committed
Update publish-container-image-icr.yml
1 parent 4575acb commit 865d002

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/publish-container-image-icr.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,23 +15,23 @@ jobs:
1515
ICR_REPOSITORY_BACKEND_JOB: tutorial-text-analysis-code-engine-backend-job
1616
steps:
1717
- name: Check out the repo
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919

2020
- name: Log in to Container Registry
21-
uses: docker/login-action@v1.10.0
21+
uses: docker/login-action@v3
2222
with:
2323
registry: icr.io
2424
username: ${{ secrets.ICR_USER }}
2525
password: ${{ secrets.ICR_TOKEN }}
2626

2727
- name: Extract metadata (tags, labels) for Docker
2828
id: meta-frontend
29-
uses: docker/metadata-action@v3.6.2
29+
uses: docker/metadata-action@v5
3030
with:
3131
images: icr.io/${{ env.ICR_NAMESPACE }}/${{ env.ICR_REPOSITORY_FRONTEND }}
3232

3333
- name: Build and push image
34-
uses: docker/build-push-action@v2.8.0
34+
uses: docker/build-push-action@v5
3535
with:
3636
context: ./frontend
3737
file: ./frontend/Dockerfile
@@ -41,12 +41,12 @@ jobs:
4141

4242
- name: Extract metadata (tags, labels) for Docker
4343
id: meta-backend
44-
uses: docker/metadata-action@v3.6.2
44+
uses: docker/metadata-action@v5
4545
with:
4646
images: icr.io/${{ env.ICR_NAMESPACE }}/${{ env.ICR_REPOSITORY_BACKEND }}
4747

4848
- name: Build and push image
49-
uses: docker/build-push-action@v2.8.0
49+
uses: docker/build-push-action@v5
5050
with:
5151
context: ./backend
5252
file: ./backend/Dockerfile
@@ -56,12 +56,12 @@ jobs:
5656

5757
- name: Extract metadata (tags, labels) for Docker
5858
id: meta-backend-job
59-
uses: docker/metadata-action@v3.6.2
59+
uses: docker/metadata-action@v5
6060
with:
6161
images: icr.io/${{ env.ICR_NAMESPACE }}/${{ env.ICR_REPOSITORY_BACKEND_JOB }}
6262

6363
- name: Build and push image
64-
uses: docker/build-push-action@v2.8.0
64+
uses: docker/build-push-action@v5
6565
with:
6666
context: ./jobs
6767
file: ./jobs/Dockerfile

0 commit comments

Comments
 (0)