Skip to content

Commit 5f8687d

Browse files
authored
Update and rename docker-image.yml to build-docker.yaml
1 parent 5d4f575 commit 5f8687d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

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

33
on:
44
[workflow_dispatch] # This allows manual triggering from GitHub UI
@@ -14,5 +14,6 @@ jobs:
1414
- name: Build image
1515
run: docker build ./api/ -t echelonkay/devops-qr-code-api:latest
1616

17-
- name: |
18-
run: docker push echelonkay/devops-qr-code-api:latest
17+
- name: push image to docker hub
18+
run: |
19+
docker push echelonkay/devops-qr-code-api:latest

0 commit comments

Comments
 (0)