Skip to content

Commit a1a9331

Browse files
authored
Update GitHub Actions workflow and dependencies (#2)
* Add Dockerfile for JHipster React Native generator Signed-off-by: Pratik Raj <[email protected]> * Update GitHub Actions workflow and dependencies - Rename workflow from "Docker" to "Container Image Build" - Update actions/checkout from v2 to v6 - Update docker/login-action to latest version (5e57cd1) - Update docker/metadata-action to latest version (c299e40) - Update docker/build-push-action to latest version (2634353) - Change Docker references to Container in comments and step names - Update context path from "." to "./" Signed-off-by: Pratik Raj <[email protected]> --------- Signed-off-by: Pratik Raj <[email protected]>
1 parent 8409d50 commit a1a9331

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker
1+
name: Container Image Build
22

33
# This workflow uses actions that are not certified by GitHub.
44
# They are provided by a third-party and are governed by
@@ -30,32 +30,32 @@ jobs:
3030

3131
steps:
3232
- name: Checkout repository
33-
uses: actions/checkout@v2
33+
uses: actions/checkout@v6
3434

35-
# Login against a Docker registry except on PR
35+
# Login against a Container registry except on PR
3636
# https://github.com/docker/login-action
3737
- name: Log into registry ${{ env.REGISTRY }}
3838
if: github.event_name != 'pull_request'
39-
uses: docker/login-action@28218f9b04b4f3f62068d7b6ce6ca5b26e35336c
39+
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef
4040
with:
4141
registry: ${{ env.REGISTRY }}
4242
username: ${{ github.actor }}
4343
password: ${{ secrets.GITHUB_TOKEN }}
4444

45-
# Extract metadata (tags, labels) for Docker
45+
# Extract metadata (tags, labels) for Container
4646
# https://github.com/docker/metadata-action
47-
- name: Extract Docker metadata
47+
- name: Extract Container metadata
4848
id: meta
49-
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
49+
uses: docker/metadata-action@c299e40c65443455700f0fdfc63efafe5b349051
5050
with:
5151
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
5252

53-
# Build and push Docker image with Buildx (don't push on PR)
53+
# Build and push Container image with Buildx (don't push on PR)
5454
# https://github.com/docker/build-push-action
55-
- name: Build and push Docker image
56-
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
55+
- name: Build and push Container image
56+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83
5757
with:
58-
context: .
58+
context: ./
5959
push: ${{ github.event_name != 'pull_request' }}
6060
tags: ${{ steps.meta.outputs.tags }}
6161
labels: ${{ steps.meta.outputs.labels }}

0 commit comments

Comments
 (0)