Skip to content

Commit 2eabda7

Browse files
authored
Update main.yml
1 parent fbde40e commit 2eabda7

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/main.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,25 @@ jobs:
4949
with:
5050
name: build-artifacts
5151
path: build/libs/*.jar
52+
53+
docker:
54+
runs-on: ubuntu-latest
55+
steps:
56+
-
57+
name: Login to Docker Hub
58+
uses: docker/login-action@v3
59+
with:
60+
username: ${{ vars.DOCKERHUB_USERNAME }}
61+
password: ${{ secrets.DOCKERHUB_TOKEN }}
62+
-
63+
name: Set up QEMU
64+
uses: docker/setup-qemu-action@v3
65+
-
66+
name: Set up Docker Buildx
67+
uses: docker/setup-buildx-action@v3
68+
-
69+
name: Build and push
70+
uses: docker/build-push-action@v6
71+
with:
72+
push: true
73+
tags: user/app:latest

0 commit comments

Comments
 (0)