Skip to content

refactor tests suite in order to run it locally outside docker (#102) #59

refactor tests suite in order to run it locally outside docker (#102)

refactor tests suite in order to run it locally outside docker (#102) #59

Workflow file for this run

name: packages
on:
push:
branches:
- main
tags:
- "*"
workflow_dispatch:
jobs:
docker-build-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- 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
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
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}