Skip to content

Commit 71cc886

Browse files
committed
Install dbmate
1 parent 3d9acbb commit 71cc886

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,4 @@ jobs:
5959
CITUS_VERSION=${{ env.CITUS_VERSION }}
6060
WAL_G_VERSION=${{ env.WAL_G_VERSION }}
6161
PG_ACOUSTID_VERSION=${{ env.PG_ACOUSTID_VERSION }}
62+
DBMATE_VERSION=${{ env.DBMATE_VERSION }}

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ FROM postgres:$PG_VERSION as builder
55
ARG WAL_G_VERSION
66
ARG PG_ACOUSTID_VERSION
77
ARG PATRONI_VERSION
8+
ARG DBMATE_VERSION
89

910
RUN apt-get update && \
1011
apt-get install -y \
@@ -88,3 +89,6 @@ RUN ln -s /opt/yacron/bin/yacron /usr/local/bin
8889

8990
RUN curl -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/local/bin/yq && \
9091
chmod +x /usr/local/bin/yq
92+
93+
RUN curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/download/v$DBMATE_VERSION/dbmate-linux-amd64 && \
94+
chmod +x /usr/local/bin/dbmate

versions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ PATRONI_VERSION=4.0.2
33
CITUS_VERSION=12.1.4
44
WAL_G_VERSION=3.0.3
55
PG_ACOUSTID_VERSION=1.0.0
6+
DBMATE_VERSION=2.23.0

0 commit comments

Comments
 (0)