Skip to content

Commit 0199bcf

Browse files
Create docker-image.yml
1 parent 9e479af commit 0199bcf

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/docker-image.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
docker:
8+
runs-on: ubuntu-latest
9+
steps:
10+
-
11+
name: Login to Docker Hub
12+
uses: docker/login-action@v3
13+
with:
14+
username: ${{ vars.DOCKERHUB_USERNAME }}
15+
password: ${{ secrets.DOCKERHUB_TOKEN }}
16+
-
17+
name: Set up QEMU
18+
uses: docker/setup-qemu-action@v3
19+
-
20+
name: Set up Docker Buildx
21+
uses: docker/setup-buildx-action@v3
22+
-
23+
name: Build and push
24+
uses: docker/build-push-action@v6
25+
with:
26+
push: true
27+
tags: adijaiswal/app:latest

0 commit comments

Comments
 (0)