Skip to content

Commit

Permalink
♻️ refactor(.github/workflows/postgres-build.yml): Update Docker im…
Browse files Browse the repository at this point in the history
…age tags to use `DOCKER_PREFIX` variable.
  • Loading branch information
vnobo committed Dec 12, 2024
1 parent 7d712ec commit ae6a109
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/postgres-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker buildx build --push -t ${{ env.REGISTRY }}/postgres:17 ./boot/postgres
run: docker buildx build --push -t ${{ vars.DOCKER_PREFIX }}/postgres:17 ./boot/postgres
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -45,7 +45,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker buildx build --push -t ${{ env.REGISTRY }}/postgres:zhparser ./boot/postgres/zhparser
run: docker buildx build --push -t ${{ vars.DOCKER_PREFIX }}/postgres:zhparser ./boot/postgres/zhparser
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -61,10 +61,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Build postgis Docker image
run: docker buildx build --push -t ${{ env.REGISTRY }}/postgres:postgis ./boot/postgres/postgis
run: docker buildx build --push -t ${{ vars.DOCKER_PREFIX }}/postgres:postgis ./boot/postgres/postgis
- uses: actions/checkout@v4
- name: Build latest Docker image
run: docker buildx build --push -t ${{ env.REGISTRY }}/postgres:latest ./boot/postgres/postgis
run: docker buildx build --push -t ${{ vars.DOCKER_PREFIX }}/postgres:latest ./boot/postgres/postgis
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down

0 comments on commit ae6a109

Please sign in to comment.