Skip to content

Use docker-manifest action to create and push a multi-arch manifest #2

Use docker-manifest action to create and push a multi-arch manifest

Use docker-manifest action to create and push a multi-arch manifest #2

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