Skip to content

Commit 0705f62

Browse files
committed
Initial commit
0 parents  commit 0705f62

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

‎.github/workflows/docker.yml‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: ci
2+
3+
on:
4+
push:
5+
branches:
6+
- "main"
7+
8+
jobs:
9+
docker:
10+
runs-on: ubuntu-latest
11+
steps:
12+
-
13+
name: Checkout
14+
uses: actions/checkout@v3
15+
with:
16+
submodules: recursive
17+
-
18+
name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v2
20+
-
21+
name: Login to Docker Hub
22+
uses: docker/login-action@v2
23+
with:
24+
username: ${{ github.repository_owner }}
25+
password: ${{ secrets.DOCKERHUB_TOKEN }}
26+
-
27+
name: Build and push
28+
uses: docker/build-push-action@v4
29+
with:
30+
context: .
31+
platforms: linux/amd64,linux/arm64
32+
push: true
33+
tags: ${{ github.repository }}:latest

‎Dockerfile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM almalinux:9.6
2+
RUN dnf -y update && dnf -y install dnf-utils
3+
RUN dnf -y module disable postgresql
4+
RUN dnf -y install https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm
5+
RUN dnf -y install postgresql17 postgresql17-server postgresql17-contrib postgresql17-libs && dnf clean all

0 commit comments

Comments
 (0)