Skip to content

Bump Dependencies Versions (#169) #142

Bump Dependencies Versions (#169)

Bump Dependencies Versions (#169) #142

Workflow file for this run

# https://docs.github.com/en/actions/publishing-packages/publishing-docker-images#publishing-images-to-github-packages
name: Docker Image CI
on:
release:
types: ["published"]
push:
branches: ["trunk"]
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to the Container registry
uses: docker/login-action@e92390c5fb421da1463c202d546fed0ec5c39f20
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
platforms: linux/amd64, linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: |
org.opencontainers.image.authors="colinho <github@colin.technology>"
org.opencontainers.image.description="Waving at the TIDAL music service with Python"
org.opencontainers.image.documentation="https://github.com/ebb-earl-co/tidal-wave/blob/trunk/README.md"
org.opencontainers.image.source="https://github.com/ebb-earl-co/tidal-wave"
org.opencontainers.image.licenses="LGPL-2.1-only"