Skip to content

Commit

Permalink
🚚 refactor(.github/workflows/postgres-build.yml): Reorder and optim…
Browse files Browse the repository at this point in the history
…ize Docker setup steps.
  • Loading branch information
vnobo committed Dec 12, 2024
1 parent c094911 commit 6223796
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/postgres-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ jobs:
type=semver,pattern={{major}}
type=sha
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v3

- name: Log into registry ${{ env.REGISTRY }}
if: github.event_name != 'pull_request'
uses: docker/login-action@v3.3.0
Expand All @@ -64,6 +61,9 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v3

- name: Build zhparser Docker image
run: docker buildx build --push -t ${{ vars.DOCKER_PREFIX }}/postgres:17-zhparser ./boot/postgres/zhparser

Expand Down

0 comments on commit 6223796

Please sign in to comment.