Skip to content

refresh files

refresh files #25

---
name: github-packages
on:
push:
branches:
- 'master'
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
dist:
- bullseye
- bookworm
- sid
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:${{ matrix.dist }}"
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/kamailio/pkg-kamailio-docker:${{ github.ref_name }}-${{ matrix.dist }}