Skip to content

Commit 3ac7b93

Browse files
authored
Update build-docker.yaml
Dockerhub_token added
1 parent 6e6b55d commit 3ac7b93

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build-docker.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,6 @@ jobs:
1515
run: docker build ./api/ -t echelonkay/devops-qr-code-api:latest
1616

1717
- name: push image to docker hub
18-
run: docker push echelonkay/devops-qr-code-api:latest
18+
run: |
19+
docker login -u echelonkay -p ${{ secrets.DOCKER_HUB_TOKEN }}
20+
docker push echelonkay/devops-qr-code-api:latest

0 commit comments

Comments
 (0)