Compare commits
10 Commits
6791425d46
...
6a325f4951
Author | SHA1 | Date | |
---|---|---|---|
6a325f4951 | |||
c81d3cd7b9 | |||
608134bef2 | |||
38ee066b93 | |||
1130f93b4b | |||
4498e0e715 | |||
c99d176e39 | |||
9a1eca160e | |||
9faa1a9872 | |||
6353b66d2a |
12
.gitea/workflows/container.yaml
Normal file
12
.gitea/workflows/container.yaml
Normal file
@ -0,0 +1,12 @@
|
||||
name: Build Multiarch Container Image
|
||||
on: [push]
|
||||
jobs:
|
||||
call-reusable-workflow:
|
||||
uses: container/multiarch-build-workflow/.gitea/workflows/build.yaml@main
|
||||
with:
|
||||
repository: ${{ gitea.repository }}
|
||||
ref_name: ${{ gitea.ref_name }}
|
||||
sha: ${{ gitea.sha }}
|
||||
registry_url: ${{ secrets.REGISTRY_URL }}
|
||||
registry_user: ${{ secrets.REGISTRY_USER }}
|
||||
registry_pw: ${{ secrets.REGISTRY_PW }}
|
0
.gitignore
vendored
Executable file → Normal file
0
.gitignore
vendored
Executable file → Normal file
@ -1,18 +0,0 @@
|
||||
variables:
|
||||
CONTAINER_NAME: thallian/postgres
|
||||
|
||||
build:
|
||||
stage: build
|
||||
image:
|
||||
name: gcr.io/kaniko-project/executor:debug
|
||||
entrypoint: [""]
|
||||
script:
|
||||
- mkdir -p /kaniko/.docker
|
||||
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$(printf "%s:%s" "$CI_REGISTRY_USER" "$CI_REGISTRY_PASSWORD" | base64 | tr -d '\n')\"}}}" > /kaniko/.docker/config.json
|
||||
- >-
|
||||
/kaniko/executor
|
||||
--context "$CI_PROJECT_DIR"
|
||||
--dockerfile "$CI_PROJECT_DIR/Dockerfile"
|
||||
--destination "$CONTAINER_NAME:$CI_COMMIT_SHA"
|
||||
--destination "$CONTAINER_NAME:$CI_COMMIT_REF_NAME"
|
||||
--destination "$CONTAINER_NAME:latest"
|
@ -1,10 +1,10 @@
|
||||
FROM thallian/confd-env:latest
|
||||
FROM docker.io/thallian/confd-env:3.19-3.1.6.2
|
||||
|
||||
ENV PGDATA=/var/lib/postgresql/data
|
||||
|
||||
RUN apk add --no-cache \
|
||||
postgresql14 \
|
||||
postgresql14-contrib
|
||||
postgresql16 \
|
||||
postgresql16-contrib
|
||||
|
||||
RUN mkdir -p /run/postgresql && mkdir -p $PGDATA
|
||||
RUN chown -R postgres /run/postgresql && chown -R postgres $PGDATA
|
@ -1,3 +1,3 @@
|
||||
local all all trust
|
||||
host all all 0.0.0.0/0 md5
|
||||
host all all ::1/128 trust
|
||||
host all all 0.0.0.0/0 md5
|
||||
host all all ::0/0 md5
|
||||
|
Loading…
Reference in New Issue
Block a user