Skip to content

generate multi arch manifest #2

generate multi arch manifest

generate multi arch manifest #2

name: generate multi arch manifest
on: [workflow_dispatch]
jobs:
generate-manifest:
runs-on: ubuntu-latest
steps:
- name: setup docker buildx
uses: docker/setup-buildx-action@v3
- name: Log in to ghcr
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
# - uses: int128/docker-manifest-create-action@v2
# with:
# latests: |
# ghcr.io/felix920506/jellychord:latest
# sources: |
# ghcr.io/felix920506/jellychord:latest-amd64
# ghcr.io/felix920506/jellychord:latest-arm64
- name: Create and push manifest images
uses: Noelware/docker-manifest-action@master # or use a pinned version in the Releases tab
with:
inputs: ghcr.io/felix920506/jellychord:latest
images: ghcr.io/felix920506/jellychord:latest-amd64,ghcr.io/felix920506/jellychord:latest-arm64
push: true