Skip to content

release: v6.0.0 (#277) #179

release: v6.0.0 (#277)

release: v6.0.0 (#277) #179

Workflow file for this run

name: packages
on:
push:
branches:
- main
tags:
- "*"
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 (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 }}