chore(deps): update alpine:3.19 docker digest to c5b1261 #197
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v5 | |
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' }} |