File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1
1
# docker-build-action
2
+
2
3
This GitHub action will log into the specified Docker Registry and build 1 or 2 images based on the given config.
3
4
4
5
## Config
6
+
5
7
` registry ` : Registry's host
8
+
6
9
` user ` : Registry's user
10
+
7
11
` password ` : Registry user's password or token
12
+
8
13
` image ` : Docker image name without tag
14
+
9
15
` tag ` : Docker image tag
10
- ` build_dev ` : Creates a -dev image too if set to true
16
+
17
+ ` build_args ` : Environment variables passed to docker build
Original file line number Diff line number Diff line change @@ -3,16 +3,15 @@ description: "Builds the Docker image and pushes it to the specified registry"
3
3
inputs :
4
4
registry :
5
5
description : " Registry's host"
6
- required : true
6
+ required : false
7
7
default : " ghcr.io"
8
8
user :
9
9
description : " Registry's user"
10
- required : true
10
+ required : false
11
11
default : ${{ github.actor }}
12
12
password :
13
13
description : " Registry user's password or token"
14
14
required : true
15
- default : ${{ secrets.GITHUB_TOKEN }}
16
15
image :
17
16
description : " Docker image name without tag"
18
17
required : true
You can’t perform that action at this time.
0 commit comments