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 11# docker-build-action
2+
23This GitHub action will log into the specified Docker Registry and build 1 or 2 images based on the given config.
34
45## Config
6+
57` registry ` : Registry's host
8+
69` user ` : Registry's user
10+
711` password ` : Registry user's password or token
12+
813` image ` : Docker image name without tag
14+
915` 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"
33inputs :
44 registry :
55 description : " Registry's host"
6- required : true
6+ required : false
77 default : " ghcr.io"
88 user :
99 description : " Registry's user"
10- required : true
10+ required : false
1111 default : ${{ github.actor }}
1212 password :
1313 description : " Registry user's password or token"
1414 required : true
15- default : ${{ secrets.GITHUB_TOKEN }}
1615 image :
1716 description : " Docker image name without tag"
1817 required : true
You can’t perform that action at this time.
0 commit comments