We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2dcc05 commit a1b10b5Copy full SHA for a1b10b5
1 file changed
.github/workflows/docker
@@ -0,0 +1,33 @@
1
+name: Build and Push Docker Image
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build-and-push:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout repository
13
+ uses: actions/checkout@v4
14
15
+ - name: Set up QEMU
16
+ uses: docker/setup-qemu-action@v3
17
18
+ - name: Set up Docker Buildx
19
+ uses: docker/setup-buildx-action@v3
20
21
+ - name: Log in to DockerHub
22
+ uses: docker/login-action@v3
23
+ with:
24
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
25
+ password: ${{ secrets.DOCKERHUB_PAT }}
26
27
+ - name: Build and push Docker image (multi-arch)
28
+ uses: docker/build-push-action@v5
29
30
+ context: .
31
+ push: true
32
+ tags: isaricpv/influxdb-summary-java:latest
33
+ platforms: linux/amd64,linux/arm64
0 commit comments