We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0d57c7 commit 247358aCopy full SHA for 247358a
1 file changed
‎.github/workflows/release_dockerhub.yml‎
@@ -0,0 +1,35 @@
1
+name: release
2
+
3
+on: [workflow_dispatch]
4
5
+jobs:
6
+ release_dockerhub:
7
+ runs-on: ubuntu-latest
8
+ needs: release
9
10
+ steps:
11
+ - name: Checkout sources
12
+ uses: actions/checkout@v4
13
+ with:
14
+ ref: main
15
16
+ - name: Set up QEMU
17
+ uses: docker/setup-qemu-action@v3
18
19
+ - name: Set up Docker Buildx
20
+ uses: docker/setup-buildx-action@v3
21
22
+ - name: Login to DockerHub
23
+ uses: docker/login-action@v3
24
25
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
26
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
27
28
+ - name: Build and push Docker image
29
+ uses: docker/build-push-action@v6
30
31
+ platforms: linux/amd64,linux/arm64
32
+ context: .
33
+ file: Dockerfile
34
+ push: true
35
+ tags: getcodelimit/codelimit:latest
0 commit comments