Skip to content

Commit 00e7faa

Browse files
committed
Updating workflow for github
1 parent 6c833e6 commit 00e7faa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
- name: Build the Docker image
1414
run: docker build . --file Dockerfile --tag docker.pkg.github.com/dipayan90/${GITHUB_REPOSITORY}:${GITHUB_SHA} --tag docker.pkg.github.com/dipayan90/${GITHUB_REPOSITORY}:latest
1515
- name: Login to Github docker Registry
16-
run: docker login docker.pkg.github.com --username dipayan90 --password ${GITHUB_PASSWORD}
16+
with:
17+
github_password: ${{secrets.GITHUB_PASSWORD}}
18+
run: docker login docker.pkg.github.com --username dipayan90 --password github_password
1719
- name: Push Image To Registry
1820
run: docker push docker.pkg.github.com/dipayan90/${GITHUB_REPOSITORY}:${GITHUB_SHA} && docker push docker.pkg.github.com/dipayan90/${GITHUB_REPOSITORY}:latest

0 commit comments

Comments
 (0)