Skip to content

Commit 69214d5

Browse files
committed
CI: Fix syntax error in main.yml workflow file introduced in PR #421
Signed-off-by: Phillip Ross <[email protected]>
1 parent b918188 commit 69214d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,14 @@ jobs:
9696

9797
- name: Login to dockerhub
9898
uses: docker/login-action@v3
99-
if: ${{ (github.repository == 'postgis/docker-postgis') && github.ref == 'refs/heads/master') && (github.event_name != 'pull_request') }}
99+
if: ${{ (github.repository == 'postgis/docker-postgis') && (github.ref == 'refs/heads/master') && (github.event_name != 'pull_request') }}
100100
with:
101101
username: ${{ secrets.DOCKERHUB_USERNAME }}
102102
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
103103

104104
- name: Push docker image to dockerhub
105105
# !!!! ONLY push the images when built on ubuntu-24.04 x86 runner for now, NOT for ubuntu-24.04-arm runners
106-
if: ${{ (github.repository == 'postgis/docker-postgis') && github.ref == 'refs/heads/master') && (github.event_name != 'pull_request') && ( matrix.runner-platform == 'ubuntu-24.04' ) }}
106+
if: ${{ (github.repository == 'postgis/docker-postgis') && (github.ref == 'refs/heads/master') && (github.event_name != 'pull_request') && ( matrix.runner-platform == 'ubuntu-24.04' ) }}
107107
env:
108108
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
109109
DOCKERHUB_ACCESS_TOKEN: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)