We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 805fc70 + 342b9db commit 5922fc6Copy full SHA for 5922fc6
.github/workflows/docker.yml
@@ -0,0 +1,37 @@
1
+name: Docker Build and Push
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*"
7
8
+concurrency:
9
+ group: "docker-image"
10
+ cancel-in-progress: false
11
12
+jobs:
13
+ docker:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - name: Set up QEMU
19
+ uses: docker/setup-qemu-action@v3
20
21
+ - name: Set up Docker Buildx
22
+ uses: docker/setup-buildx-action@v3
23
24
25
+ - name: Log in to Docker Hub
26
+ uses: docker/login-action@v3
27
+ with:
28
+ username: ${{ github.actor }}
29
+ password: ${{ secrets.GH_TOKEN }}
30
31
+ - name: Build and push
32
+ uses: docker/build-push-action@v5
33
34
+ push: true
35
+ tags: ghcr.io/${{ github.repository }}:latest,ghcr.io/${{ github.repository }}:${{ github.ref_name }}
36
+ platforms: linux/amd64,linux/arm64
37
0 commit comments