Skip to content

chore(deps): update alpine:3.20 docker digest to 1e42bbe #250

chore(deps): update alpine:3.20 docker digest to 1e42bbe

chore(deps): update alpine:3.20 docker digest to 1e42bbe #250

Workflow file for this run

name: Container
on:
push:
branches: [main]
paths:
- .github/workflows/container.yml
- alpine.dockerfile
- debian.dockerfile
- docker-entrypoint.sh
- Makefile
- SHA512SUMS.txt
- xml-edit.sh
pull_request:
branches: [main]
paths:
- .github/workflows/container.yml
- alpine.dockerfile
- debian.dockerfile
- docker-entrypoint.sh
- Makefile
- SHA512SUMS.txt
- xml-edit.sh
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- 2.4.4
- 2.5-beta3
variant:
- debian
- alpine
env:
DEFAULT_VARIANT: debian
DEFAULT_VERSION: 2.4.4
if: ${{ github.repository_owner == 'libretime' }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/setup-qemu-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v3
if: github.event_name == 'push'
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- run: make icecast-${{ matrix.version }}.tar.gz
- uses: docker/metadata-action@v5
id: meta
with:
images: |
ghcr.io/${{ github.repository_owner }}/icecast
${{ github.repository_owner }}/icecast
tags: |
type=raw,value=${{ matrix.version }}-${{ matrix.variant }}
type=raw,value=${{ matrix.version }},enable=${{ matrix.variant == env.DEFAULT_VARIANT }}
type=raw,value=${{ matrix.variant }},enable=${{ matrix.version == env.DEFAULT_VERSION }}
type=raw,value=latest,enable=${{ matrix.variant == env.DEFAULT_VARIANT && matrix.version == env.DEFAULT_VERSION }}
- uses: docker/build-push-action@v6
with:
context: .
pull: true
file: ${{ matrix.variant }}.dockerfile
build-args: |
VERSION=${{ matrix.version }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name == 'push' }}