feat: configure grant all on public schema for docker user
All checks were successful
Main / build (push) Successful in 8m6s
All checks were successful
Main / build (push) Successful in 8m6s
This commit is contained in:
parent
0f4214a70c
commit
4c4390756c
7
.github/workflows/main.yaml
vendored
7
.github/workflows/main.yaml
vendored
@ -17,7 +17,8 @@ jobs:
|
|||||||
container:
|
container:
|
||||||
image: catthehacker/ubuntu:act-22.04
|
image: catthehacker/ubuntu:act-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: RouxAntoine/checkout@v4.1.8
|
- name: Checkout repository
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/checkout@v4.1.8
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
fetch-tags: false
|
fetch-tags: false
|
||||||
@ -43,9 +44,11 @@ jobs:
|
|||||||
linux/amd64
|
linux/amd64
|
||||||
linux/arm64
|
linux/arm64
|
||||||
|
|
||||||
- uses: RouxAntoine/auto-changie@v1.0.1
|
- name: Auto generate changelog
|
||||||
|
uses: https://antoine-roux.tk/projects/actions/auto-changie@v1.0.1
|
||||||
|
|
||||||
- name: Push changelog
|
- name: Push changelog
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"
|
commit_message: "${{ vars.SKIP_CI_PREFIX }} Push updated changelog"
|
||||||
|
file_pattern: "\\.changes/* CHANGELOG.md"
|
||||||
|
@ -6,8 +6,9 @@ app_password="$POSTGRES_APP_PASSWORD"
|
|||||||
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
psql -v ON_ERROR_STOP=1 --username "$POSTGRES_USER" --dbname "$POSTGRES_DB" <<-EOSQL
|
||||||
CREATE USER docker WITH PASSWORD '$app_password';
|
CREATE USER docker WITH PASSWORD '$app_password';
|
||||||
CREATE DATABASE docker;
|
CREATE DATABASE docker;
|
||||||
|
GRANT ALL PRIVILEGES ON SCHEMA public TO docker;
|
||||||
GRANT ALL PRIVILEGES ON DATABASE docker TO docker;
|
GRANT ALL PRIVILEGES ON DATABASE docker TO docker;
|
||||||
|
|
||||||
-- SELECT datname FROM pg_database WHERE datistemplate = false;
|
-- SELECT datname FROM pg_database WHERE datistemplate = false;
|
||||||
-- SELECT table_schema,table_name
|
-- SELECT table_schema,table_name
|
||||||
-- FROM information_schema.tables
|
-- FROM information_schema.tables
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"dependencyDashboard": true
|
"dependencyDashboard": true,
|
||||||
|
"extends": [
|
||||||
|
"local>config/renovate-config"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user