Skip to content

Commit ed43a2c

Browse files
committed
fix pipeline
1 parent 47d4486 commit ed43a2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pygeoapi-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
- name: Get pygeoapi version
4242
id: pgv
4343
run: |
44-
PYGEOAPI_VERSION=$(docker run --rm geopython/pygeoapi:latest pygeoapi --version | awk '{print $2}')
45-
echo "PYGEOAPI_VERSION=$PYGEOAPI_VERSION" >> "$GITHUB_OUTPUT"
44+
PYGEOAPI_VERSION=$(docker run --rm geopython/pygeoapi:latest pygeoapi --version 2>&1 | grep -oE '[0-9]+\.[0-9]+\.[0-9]+' || echo "0.14.0")
45+
echo "PYGEOAPI_VERSION=$PYGEOAPI_VERSION" >> $GITHUB_OUTPUT
4646
4747
- name: Log in to GHCR
4848
uses: docker/login-action@v3

0 commit comments

Comments
 (0)