Skip to content

Commit 1abb317

Browse files
committed
updated actions to latest
1 parent d697fa6 commit 1abb317

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,23 @@ jobs:
1313
ICR_REPOSITORY: tutorial-cloud-e2e-security
1414
steps:
1515
- name: Check out the repo
16-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
1717

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

2525
- name: Extract metadata (tags, labels) for Docker
2626
id: meta
27-
uses: docker/metadata-action@v3.6.2
27+
uses: docker/metadata-action@v5
2828
with:
2929
images: icr.io/${{ env.ICR_NAMESPACE }}/${{ env.ICR_REPOSITORY }}
3030

3131
- name: Build and push image
32-
uses: docker/build-push-action@v2.8.0
32+
uses: docker/build-push-action@v5
3333
with:
3434
context: ./app
3535
file: ./app/Dockerfile

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Check out the repo
13-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
1414

1515
- name: Log in to Docker Hub
16-
uses: docker/login-action@v1.10.0
16+
uses: docker/login-action@v3
1717
with:
1818
username: ${{ secrets.DOCKERHUB_USER }}
1919
password: ${{ secrets.DOCKERHUB_TOKEN }}
2020

2121
- name: Extract metadata (tags, labels) for Docker
2222
id: meta
23-
uses: docker/metadata-action@v3.5.0
23+
uses: docker/metadata-action@v5
2424
with:
2525
images: ${{ secrets.DOCKERHUB_ORG }}/${{ secrets.DOCKERHUB_REPOSITORY }}
2626

2727
- name: Build and push image
28-
uses: docker/build-push-action@v2.7.0
28+
uses: docker/build-push-action@v5
2929
with:
3030
context: ./app
3131
file: ./app/Dockerfile

0 commit comments

Comments
 (0)