Skip to content

Commit e8094ce

Browse files
committed
fix: Update multiple workflows configurations
1 parent 15e7225 commit e8094ce

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: CI
1+
name: CI (Build, Format, Lint)
22

33
on:
44
push:

.github/workflows/greetings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name : Greetings
1+
name : Greets Contributors
22

33
on:
44
fork:

.github/workflows/docker.yml renamed to .github/workflows/publish-dockerhub.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Image to DockerHub
1+
name: Build and Push Image to DockerHub
22

33
on:
44
workflow_dispatch:
@@ -12,10 +12,6 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v4
1414

15-
- name: get-npm-version
16-
id: package-version
17-
uses: martinbeentjes/[email protected]
18-
1915
- name: DockerHub Login
2016
uses: docker/login-action@v3
2117
with:
@@ -38,6 +34,6 @@ jobs:
3834
file: ./Dockerfile
3935
push: true
4036
tags: |
41-
${{ secrets.DOCKERHUB_USERNAME }}/contributor:latest
42-
${{ secrets.DOCKERHUB_USERNAME }}/contributor:${{ steps.read_yaml.outputs['version'] }}
37+
${{ secrets.DOCKERHUB_USERNAME }}/contributors:latest
38+
${{ secrets.DOCKERHUB_USERNAME }}/contributors:${{ steps.read_yaml.outputs['version'] }}
4339
platforms: linux/amd64,linux/arm64,linux/arm/v7

.github/workflows/publish-ghcr.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Image - GHCR
1+
name: Build and Push Image to GHCR
22

33
on:
44
workflow_dispatch:
@@ -20,7 +20,6 @@ jobs:
2020
- name: Checkout repository
2121
uses: actions/checkout@v4
2222

23-
2423
- name: Log in to the Container registry
2524
uses: docker/login-action@v3
2625
with:
@@ -40,12 +39,17 @@ jobs:
4039
with:
4140
config: ${{ github.workspace }}/version.yaml
4241

42+
- name: Set up Docker Buildx
43+
uses: docker/setup-buildx-action@v3
44+
4345
- name: Build and push Docker image
4446
uses: docker/build-push-action@v6
4547
with:
4648
context: .
49+
file: ./Dockerfile
4750
push: true
4851
tags: |
4952
ghcr.io/pradumnasaraf/contributors:latest
5053
ghcr.io/pradumnasaraf/contributors:${{ steps.read_yaml.outputs['version'] }}
51-
labels: ${{ steps.meta.outputs.labels }}
54+
platforms: linux/amd64,linux/arm64,linux/arm/v7
55+
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/releases.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Releases
1+
name: Create Release
22
on:
33
push:
44
branches:

0 commit comments

Comments
 (0)