We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93a76ef commit 6ead4c9Copy full SHA for 6ead4c9
.github/workflows/docker-image-latest.yml
@@ -0,0 +1,27 @@
1
+name: docker-image-latest
2
+
3
+on:
4
+ workflow_dispatch:
5
6
+jobs:
7
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - name: Login to DockerHub
13
+ uses: docker/login-action@v1
14
+ with:
15
+ username: ${{ secrets.DOCKERHUB_USERNAME }}
16
+ password: ${{ secrets.DOCKERHUB_TOKEN }}
17
+ - name: Set up Docker Buildx
18
+ uses: docker/setup-buildx-action@v1
19
20
+ - name: Build and push
21
+ id: docker_build
22
+ uses: docker/build-push-action@v2
23
24
+ context: .
25
+ file: ./Dockerfile
26
+ push: true
27
+ tags: thingspanel/thingspanel-go:latest
.github/workflows/push-docker-image.yml renamed to .github/workflows/docker-image-v0.3.0.yml
@@ -1,4 +1,4 @@
-name: push-docker-image
+name: docker-image-v0.3.0
on:
workflow_dispatch:
0 commit comments