Skip to content

feat: add images for Home and Settings in README #11

feat: add images for Home and Settings in README

feat: add images for Home and Settings in README #11

Workflow file for this run

name: Docker
on:
push:
branches:
- main
release:
types:
- published
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Prepare image metadata
id: prep
run: |
IMAGE_OWNER=$(echo "${{ github.repository_owner }}" | tr '[:upper:]' '[:lower:]')
echo "image=ghcr.io/${IMAGE_OWNER}/bookseerr" >> "$GITHUB_OUTPUT"
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push latest image
if: github.event_name == 'push'
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ${{ steps.prep.outputs.image }}:latest
- name: Build and push release image
if: github.event_name == 'release'
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: |
${{ steps.prep.outputs.image }}:latest
${{ steps.prep.outputs.image }}:${{ github.event.release.tag_name }}