Skip to content

Commit a63ea4f

Browse files
committed
chore: remove the commit fix from images
it did not work to set the correct hashes
1 parent 8451155 commit a63ea4f

File tree

3 files changed

+6
-21
lines changed

3 files changed

+6
-21
lines changed

.github/workflows/docker-publish-esignet-mock.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,17 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29-
with:
30-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
31-
# > Note that GITHUB_SHA for this event is the last merge commit of the pull request merge branch.
32-
# > If you want to get the commit ID for the last commit to the head branch of the pull request, use _github.event.pull_request.head.sha_ instead.
33-
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3429

3530
- name: Log in to the Container registry
36-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
31+
uses: docker/login-action@v3
3732
with:
3833
registry: ${{ env.REGISTRY }}
3934
username: ${{ github.actor }}
4035
password: ${{ secrets.GITHUB_TOKEN }}
4136

4237
- name: Extract metadata (tags, labels) for Docker
4338
id: meta
44-
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
39+
uses: docker/metadata-action@v5
4540
with:
4641
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4742
tags: |
@@ -60,7 +55,7 @@ jobs:
6055

6156
- name: Build and push Docker image
6257
id: push
63-
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
58+
uses: docker/build-push-action@v6
6459
with:
6560
context: images/esignet-mock
6661
push: true

.github/workflows/docker-publish-mosip-mock.yml

+3-8
Original file line numberDiff line numberDiff line change
@@ -26,22 +26,17 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29-
with:
30-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
31-
# > Note that GITHUB_SHA for this event is the last merge commit of the pull request merge branch.
32-
# > If you want to get the commit ID for the last commit to the head branch of the pull request, use _github.event.pull_request.head.sha_ instead.
33-
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3429

3530
- name: Log in to the Container registry
36-
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
31+
uses: docker/login-action@v3
3732
with:
3833
registry: ${{ env.REGISTRY }}
3934
username: ${{ github.actor }}
4035
password: ${{ secrets.GITHUB_TOKEN }}
4136

4237
- name: Extract metadata (tags, labels) for Docker
4338
id: meta
44-
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
39+
uses: docker/metadata-action@v5
4540
with:
4641
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
4742
tags: |
@@ -60,7 +55,7 @@ jobs:
6055

6156
- name: Build and push Docker image
6257
id: push
63-
uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75
58+
uses: docker/build-push-action@v6
6459
with:
6560
context: images/mosip-mock
6661
push: true

.github/workflows/docker-publish.yml

-5
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,6 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29-
with:
30-
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request
31-
# > Note that GITHUB_SHA for this event is the last merge commit of the pull request merge branch.
32-
# > If you want to get the commit ID for the last commit to the head branch of the pull request, use _github.event.pull_request.head.sha_ instead.
33-
ref: ${{ github.event.pull_request.head.sha || github.ref }}
3429

3530
- name: Log in to the Container registry
3631
uses: docker/login-action@v3

0 commit comments

Comments
 (0)