Skip to content

Commit

Permalink
fix docker release
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentsarago committed Feb 13, 2025
1 parent 69dd186 commit a956282
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,26 +184,26 @@ jobs:
run: |
echo "version=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT
# Push `latest` when comiting to main
# Push `latest`
- name: Build and push latest
if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
file: Dockerfile.${{ matrix.image-version }}
file: Dockerfile
push: true
tags: |
ghcr.io/stac-utils/titiler-pgstac:latest
# Push `{VERSION}` when pushing a new tag
# Push `{VERSION}`
- name: Build and push tag
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: docker/build-push-action@v6
with:
platforms: linux/amd64
context: .
file: Dockerfile.${{ matrix.image-version }}
file: Dockerfile
push: true
tags: |
ghcr.io/stac-utils/titiler-pgstac:${{ steps.tag.outputs.version }}

0 comments on commit a956282

Please sign in to comment.