File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- name : build_docker
1
+ name : Release builds (Docker)
2
2
3
3
on :
4
4
push :
5
5
branches : [ "**" ]
6
6
pull_request :
7
7
branches : [ "**" ]
8
8
workflow_dispatch :
9
-
9
+
10
+ env :
11
+ DOCKERHUB_ORG_NAME : ${{ vars.DOCKERHUB_ORG_NAME || 'openlistteam' }}
12
+
10
13
jobs :
11
14
build_docker :
12
15
name : Docker
@@ -18,15 +21,15 @@ jobs:
18
21
id : meta
19
22
uses : docker/metadata-action@v3
20
23
with :
21
- images : openlistteam /ocr_api_server
24
+ images : ${{ env.DOCKERHUB_ORG_NAME }} /ocr_api_server
22
25
- name : Set up QEMU
23
26
uses : docker/setup-qemu-action@v1
24
27
- name : Set up Docker Buildx
25
28
uses : docker/setup-buildx-action@v1
26
29
- name : Login to DockerHub
27
30
uses : docker/login-action@v1
28
31
with :
29
- username : openlistteam
32
+ username : ${{ env.DOCKERHUB_ORG_NAME }}
30
33
password : ${{ secrets.DOCKERHUB_TOKEN }}
31
34
- name : Build and push
32
35
id : docker_build
You can’t perform that action at this time.
0 commit comments