Skip to content

add '-latest' to release tag for branches #131

add '-latest' to release tag for branches

add '-latest' to release tag for branches #131

Workflow file for this run

name: build-docker
on:
push:
branches: [ "main", "dev", "unstable" ]
tags: [ "*" ]
workflow_dispatch:
jobs:
build-docker-normal:
uses: ./.github/workflows/build-docker-image.yml
with:
image: firestarr
cache-from: "type=registry,ref=ghcr.io/cwfmf/firestarr-cpp/cache:"
cache-to: "type=registry,mode=max,ref=ghcr.io/cwfmf/firestarr-cpp/cache:"
build-docker-minimal:
needs: [build-docker-normal]
uses: ./.github/workflows/build-docker-image.yml
with:
image: firestarr-minimal
cache-from: "type=registry,ref=ghcr.io/cwfmf/firestarr-cpp/cache:"
suffix: "minimal"
cleanup-docker:
needs: [build-docker-minimal]
runs-on: ubuntu-24.04
permissions:
contents: read
packages: write
steps:
- uses: dataaxiom/ghcr-cleanup-action@v1
with:
# dry-run: true
packages: firestarr-cpp/cache,firestarr-cpp/firestarr