Skip to content

Commit 6ead4c9

Browse files
committed
update
1 parent 93a76ef commit 6ead4c9

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed
+27
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: push-docker-image
1+
name: docker-image-v0.3.0
22

33
on:
44
workflow_dispatch:

0 commit comments

Comments
 (0)