Skip to content

Publish Image

Publish Image #6

name: Publish Image
on:
workflow_dispatch:
workflow_call:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
strategy:
matrix:
platform:
- linux/amd64
- linux/arm64
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- run: make publish-image
env:
DOCKER_DEFAULT_PLATFORM: ${{ matrix.platform }}