Skip to content

feat: fix api route and cache invalidation on categories #25

feat: fix api route and cache invalidation on categories

feat: fix api route and cache invalidation on categories #25

Workflow file for this run

name: Publish Docker image
on:
push:
jobs:
docker_push:
name: Push Docker image to Docker Hub
environment: production
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v4
with:
images: ndom91/briefkasten
tags: |
type=sha
type=raw,value=latest
labels: |
maintainer=ndom91
org.opencontainers.image.title=Briefkasten
org.opencontainers.image.vendor=ndom91
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64