diff options
-rw-r--r-- | .github/workflows/build.yml | 23 | ||||
-rw-r--r-- | Dockerfile | 1 |
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 }} @@ -1,5 +1,4 @@ ARG postgres_version=15 - FROM postgres:$postgres_version-alpine ENV PG_CRON_VERSION=1.4.2 \ |