We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39b069 commit 61c6cafCopy full SHA for 61c6caf
.github/workflows/ci-cd.yml
@@ -15,16 +15,15 @@ jobs:
15
- name: Set up Docker Buildx
16
uses: docker/setup-buildx-action@v2
17
18
- - name: Log in to GitHub Container Registry
+ - name: Login to DockerHub
19
uses: docker/login-action@v2
20
with:
21
- registry: ghcr.io
22
- username: ${{ github.actor }}
23
- password: ${{ secrets.GITHUB_TOKEN }}
+ username: ${{ secrets.DOCKER_USERNAME }}
+ password: ${{ secrets.DOCKER_PASSWORD }}
24
25
- - name: Build and push Docker image
+ - name: Build and Push Docker image
26
uses: docker/build-push-action@v5
27
28
context: .
29
push: true
30
- tags: ghcr.io/singhsayan/node-ci-cd-k8s-monitoring:latest
+ tags: ${{ secrets.DOCKER_USERNAME }}/node-ci-cd-k8s-monitoring:latest
0 commit comments