Skip to content

Commit 77e1c73

Browse files
authored
Update docker-build.yml
1 parent 1cd7b62 commit 77e1c73

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/docker-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ on:
99

1010
jobs:
1111

12-
build:
12+
Build-Push:
1313

1414
runs-on: ubuntu-latest
1515

1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Build the Docker image
1919
run: docker build . --file Dockerfile --tag lidorlg/node-hello-lidor-new:latest
20-
20+
- name: login to docker hub
21+
run: docker login -u lidorlg -p {{ secrets.dockerhub_password }}
2122

2223
- name: Push the Docker image
2324
run: docker push lidorlg/node-hello-lidor-new:latest

0 commit comments

Comments
 (0)