Skip to content

Commit

Permalink
ci(pytest): fix getting backend image tag from docker img ls
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 22, 2023
1 parent 5779aa6 commit 8c0118c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/r-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
# Set API_TAG_OVERRIDE if not set
echo "Getting backend image tag via docker"
image=$(docker image ls | grep backend)
image=$(docker image ls --filter=reference='ghcr.io/hotosm/fmtm/backend' --format='{{.Tag}}')
image_tag="${image##*:}"
echo "Image Tag: $image_tag"
echo "API_TAG_OVERRIDE=${image_tag}" >> $GITHUB_ENV
Expand Down

0 comments on commit 8c0118c

Please sign in to comment.