Skip to content

Add a slugs argument for the featured contents query #24

Add a slugs argument for the featured contents query

Add a slugs argument for the featured contents query #24

name: Build and Publish Docker Images
on:
push:
tags: [ 'v*' ]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Docker Metadata
uses: docker/metadata-action@v4
id: docker_meta
with:
images: ghcr.io/hellodhlyn/shiori
tags: |
type=raw,value=latest
type=ref,event=tag
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v3
with:
context: .
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}