Use docker-manifest action to create and push a 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
schedule: | |
- cron: "0 6 * * SUN" # Once weekly on Sunday @ 0600 UTC | |
workflow_dispatch: null | |
jobs: | |
build-manifest: | |
name: Build Docker manifests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Login to Github Docker Registry | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKER_HUB_USER }} | |
password: ${{ secrets.DOCKER_HUB_PASSWD }} | |
- name: Create and push manifest images | |
uses: Noelware/docker-manifest-action@master | |
with: | |
inputs: ghcr.io/${{ github.repository_owner }}/condaforge/linux-anvil-cos7-manifest:latest | |
images: condaforge/linux-anvil-cos7-x86_64,condaforge/linux-anvil-ppc64le,condaforge/linux-anvil-aarch64 | |
push: true | |