aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-03-09 09:49:35 +0000
committerGravatar Chris Lovering <[email protected]>2023-03-09 09:49:35 +0000
commite4b8c3cc529da107bed6e4fce7413c01fb2013de (patch)
tree92f1406f66b15af4810db10dfb62e38accc42de3
parentBuild pg_repack from github source (diff)
Update action versions in CI
-rw-r--r--.github/workflows/build.yml23
-rw-r--r--Dockerfile1
2 files changed, 10 insertions, 14 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8c65686..e10ca24 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -19,19 +19,16 @@ jobs:
steps:
- name: Checkout code
- uses: actions/checkout@v2
-
- # The current version (v2) of Docker's build-push action uses
- # buildx, which comes with BuildKit features that help us speed
- # up our builds using additional cache features. Buildx also
- # has a lot of other features that are not as relevant to us.
- #
- # See https://github.com/docker/build-push-action
+ uses: actions/checkout@v3
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v2
+
- name: Set up Docker Buildx
- uses: docker/setup-buildx-action@v1
+ uses: docker/setup-buildx-action@v2
- name: Login to Github Container Registry
- uses: docker/login-action@v1
+ uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
@@ -41,14 +38,14 @@ jobs:
# Repository. The container will be tagged as "latest"
# and with the short SHA of the commit.
- name: Build and push
- uses: docker/build-push-action@v2
+ uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
- cache-from: type=registry,ref=ghcr.io/chrislovering/psql_extended:${{ matrix.postgres_version }}
+ cache-from: type=registry,ref=ghcr.io/owl-corp/psql_extended:${{ matrix.postgres_version }}
cache-to: type=inline
tags: |
- ghcr.io/chrislovering/psql_extended:${{ matrix.postgres_version }}
+ ghcr.io/owl-corp/psql_extended:${{ matrix.postgres_version }}
build-args: |
postgres_version=${{ matrix.postgres_version }}
diff --git a/Dockerfile b/Dockerfile
index 6b66a31..e55d78d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,5 +1,4 @@
ARG postgres_version=15
-
FROM postgres:$postgres_version-alpine
ENV PG_CRON_VERSION=1.4.2 \