Skip to content

Commit

Permalink
Install dbmate
Browse files Browse the repository at this point in the history
  • Loading branch information
lalinsky committed Dec 5, 2024
1 parent 3d9acbb commit 71cc886
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ jobs:
CITUS_VERSION=${{ env.CITUS_VERSION }}
WAL_G_VERSION=${{ env.WAL_G_VERSION }}
PG_ACOUSTID_VERSION=${{ env.PG_ACOUSTID_VERSION }}
DBMATE_VERSION=${{ env.DBMATE_VERSION }}
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ FROM postgres:$PG_VERSION as builder
ARG WAL_G_VERSION
ARG PG_ACOUSTID_VERSION
ARG PATRONI_VERSION
ARG DBMATE_VERSION

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

RUN curl -L https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -o /usr/local/bin/yq && \
chmod +x /usr/local/bin/yq

RUN curl -fsSL -o /usr/local/bin/dbmate https://github.com/amacneil/dbmate/releases/download/v$DBMATE_VERSION/dbmate-linux-amd64 && \
chmod +x /usr/local/bin/dbmate
1 change: 1 addition & 0 deletions versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ PATRONI_VERSION=4.0.2
CITUS_VERSION=12.1.4
WAL_G_VERSION=3.0.3
PG_ACOUSTID_VERSION=1.0.0
DBMATE_VERSION=2.23.0

0 comments on commit 71cc886

Please sign in to comment.