Skip to content

Build against Debian Bookworm. #19

Build against Debian Bookworm.

Build against Debian Bookworm. #19

Workflow file for this run

name: Build Docker Images
on:
push:
branches:
- main
tags:
- '*'
schedule:
- cron: '0 2 * * 0' # Weekly on Sundays at 02:00
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Docker Image
permissions:
contents: read
id-token: write
packages: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Depot
uses: depot/setup-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build Docker Metadata
id: meta
uses: docker/metadata-action@v4
with:
images: |
ghcr.io/azuracast/icecast-kh-ac
tags: |
type=raw,value=latest,enable=${{ endsWith(github.ref, github.event.repository.default_branch) }}
type=ref,event=tag
- name: Publish to Docker Hub
uses: depot/build-push-action@v1
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}