Skip to content

Commit 96ac885

Browse files
committed
added GH Action for docker
1 parent e6c780d commit 96ac885

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Publish Docker image to Docker Hub
2+
on:
3+
[workflow_dispatch:]
4+
5+
jobs:
6+
publish_images:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v4
11+
- name: Build image
12+
run: docker build ./api/ -t echelonkay/devops-qr-code-api:latest
13+
- name: push image to docker hub
14+
run: |
15+
docker push echelonkay/devops-qr-code-api:latest

0 commit comments

Comments
 (0)