generate multi arch manifest #2
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: 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 |