Skip to content

Commit 247358a

Browse files
committed
chore: 🚧 Test workflow
1 parent c0d57c7 commit 247358a

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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+
with:
31+
platforms: linux/amd64,linux/arm64
32+
context: .
33+
file: Dockerfile
34+
push: true
35+
tags: getcodelimit/codelimit:latest

0 commit comments

Comments
 (0)