File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ inputs:
23
23
description : ' POSTGRES_PASSWORD - superuser password'
24
24
required : false
25
25
default : ' '
26
+ postgresql port :
27
+ description : ' The port to bind to the docker'
28
+ required : false
29
+ default : ' 5432'
26
30
runs :
27
31
using : ' docker'
28
32
image : ' Dockerfile'
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ docker_run="docker run"
4
4
docker_run=" $docker_run -e POSTGRES_DB=$INPUT_POSTGRESQL_DB "
5
5
docker_run=" $docker_run -e POSTGRES_USER=$INPUT_POSTGRESQL_USER "
6
6
docker_run=" $docker_run -e POSTGRES_PASSWORD=$INPUT_POSTGRESQL_PASSWORD "
7
- docker_run=" $docker_run -d -p 5432 :5432 postgres:$INPUT_POSTGRESQL_VERSION "
7
+ docker_run=" $docker_run -d -p $INPUT_POSTGRESQL_PORT :5432 postgres:$INPUT_POSTGRESQL_VERSION "
8
8
9
9
sh -c " $docker_run "
You can’t perform that action at this time.
0 commit comments