Skip to content

Commit 9fefd25

Browse files
authored
Added GH docker-image
1 parent 7aa0101 commit 9fefd25

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

.github/workflows/docker-image.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Publish Docker image to Docker Hub
2+
3+
on:
4+
workflow_dispatch # This allows manual triggering from GitHub UI
5+
6+
jobs:
7+
publish_images:
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout repository
12+
uses: actions/checkout@v4
13+
14+
- name: Build image
15+
run: docker build ./api/ -t echelonkay/devops-qr-code-api:latest
16+
17+
- name: Push Docker image to Docker Hub
18+
run: docker push echelonkay/devops-qr-code-api:latest

0 commit comments

Comments
 (0)