Skip to content

Commit

Permalink
updated versions of actions used in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
dprosper committed Oct 9, 2023
1 parent 2deb601 commit 2a66b3c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-container-image-icr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,23 @@ jobs:
ICR_REPOSITORY: tutorial-application-log-analysis
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Log in to Container Registry
uses: docker/login-action@v1.10.0
uses: docker/login-action@v3
with:
registry: icr.io
username: ${{ secrets.ICR_USER }}
password: ${{ secrets.ICR_TOKEN }}

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

- name: Build and push image
uses: docker/build-push-action@v2.8.0
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,22 @@ jobs:
DOCKERHUB_REPOSITORY: tutorial-application-log-analysis
steps:
- name: Check out the repo
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v1.10.0
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v3.5.0
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKERHUB_ORG }}/${{ env.DOCKERHUB_REPOSITORY }}

- name: Build and push image
uses: docker/build-push-action@v2.7.0
uses: docker/build-push-action@v5
with:
context: .
push: true
Expand Down

0 comments on commit 2a66b3c

Please sign in to comment.