forked from hank-cp/postgresql-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
46 lines (46 loc) · 1.29 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Setup PostgreSQL
description: Setup a PostgreSQL database
author: Harmon
branding:
icon: database
color: blue
inputs:
# See https://hub.docker.com/_/postgres for supported versions
# and further details on input environment variables
postgresql version:
description: Version of PostgreSQL to use
required: false
default: latest
postgresql db:
description: POSTGRES_DB - name for the default database that is created
required: false
default: ''
postgresql user:
description: POSTGRES_USER - create the specified user with superuser power
required: false
default: ''
postgresql password:
description: POSTGRES_PASSWORD - superuser password
required: false
default: ''
postgresql init scripts:
description: POSTGRES_INIT_SCRIPTS - directory containing DB init scripts
required: false
default: ''
postgresql conf:
description: POSTGRES_CONF - postgres configurations
required: false
default: ''
postgresql port:
description: POSTGRES_PORT - port to bind to the docker
required: false
default: 5432
postgresql auth:
description: POSTGRES_AUTH - set auth method for host connections
required: false
default: ''
runs:
using: docker
env:
PORT: ${{ inputs.postgresql_port }}
image: Dockerfile