Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Oct 31, 2024
1 parent 132f7f1 commit 93a3d92
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/civ2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- release*
pull_request:

env:
Expand Down Expand Up @@ -49,13 +48,20 @@ jobs:
EXISTS=$(curl -s -H "Authorization: Bearer $TOKEN" https://ghcr.io/v2/$IMAGE/tags/list | jq "try(any(.tags[]; . == $TAG))")
echo "pgstac-image-exists=$EXISTS" >>$GITHUB_OUTPUT
echo "pgstac-image-hash=$HASH" >>$GITHUB_OUTPUT
echo "pgstac-image-exists: $EXISTS"
echo "pgstac-image-hash: $HASH"
buildpg:
name: Build and push base postgres image
needs: [check-pgstac-base]
if: ${{ needs.check-pgstac-base.outputs.pgstac-image-exists != 'true' }}
runs-on: ubuntu-latest
steps:
- name: Display inputs
run: |
echo "Inputs:"
echo ${{ needs.check-pgstac-base.outputs.pgstac-image-exists }}
echo ${{ needs.check-pgstac-base.outputs.pgstac-image-hash }}
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
Expand Down

0 comments on commit 93a3d92

Please sign in to comment.