Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Build and push image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: "Dockerfile.${{ matrix.flavor }}"
push: true
Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}},value=${{ matrix.pg_target.PG_VERSION }}.0,suffix=-${{ matrix.operating_system.alias }}

- name: Build image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: "Dockerfile.${{ matrix.operating_system.flavor }}"
load: true
Expand Down Expand Up @@ -166,7 +166,7 @@ jobs:

- name: Push image
if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: "Dockerfile.${{ matrix.operating_system.flavor }}"
platforms: linux/amd64,linux/arm64
Expand All @@ -180,7 +180,7 @@ jobs:

- name: Push latest image for each supported OS
if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main' && matrix.pg_target.PG_VERSION == env.LATEST_POSTGRES_VERSION
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: "Dockerfile.${{ matrix.operating_system.flavor }}"
platforms: linux/amd64,linux/arm64
Expand All @@ -195,7 +195,7 @@ jobs:

- name: Push general latest image
if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main' && matrix.pg_target.PG_VERSION == env.LATEST_POSTGRES_VERSION && matrix.operating_system.flavor == 'alpine'
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
file: "Dockerfile.${{ matrix.operating_system.flavor }}"
platforms: linux/amd64,linux/arm64
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
# Build and push container images
# https://github.com/docker/build-push-action
- name: Build and push ${{ matrix.tag_suffix }} image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
HEAD_SHA: ${{ github.event.pull_request.head.sha || github.sha }}
Expand Down