Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 17 additions & 2 deletions .github/workflows/packages.yml
Original file line number Diff line number Diff line change
@@ -1,37 +1,52 @@
name: packages

on:
push:
branches:
- main
tags:
- "*"
workflow_dispatch:
paths:
- Dockerfile
- setup.cfg
- "**/*.py"
- .github/workflows/packages.yml
workflow_dispatch:


jobs:
docker-build-push:
runs-on: ubuntu-latest

permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Log in to the Container registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker

- name: Extract metadata (name, tag) for Docker
id: meta
uses: docker/[email protected]
with:
images: ghcr.io/stac-utils/stac-fastapi-pgstac

- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
- update `stac-fastapi-*` version requirements to `>=5.2,<6.0`
- add pgstac health-check in `/_mgmt/health`
- switch from using pygeofilter to cql2
- publish arm64 Docker images

### Added

Expand Down
Loading