Skip to content

Build ALL images

Build ALL images #26

name: Build ALL images
on:
workflow_dispatch:
env:
REGISTRY: ghcr.io
jobs:
build:
runs-on: ubuntu-latest
permissions:
packages: write
strategy:
fail-fast: false
matrix:
repo:
- aphid
- chrysididae
- cockroach
- coleorrhyncha
- coreoidea
- dermaptera
- embioptera
- grylloblattodea
- hoppers
- isoptera
- lygaeoidea
- mantodea
- mantophasmatodea
- orthoptera
- phasmida
- plecoptera
- psocodea
- zoraptera
steps:
- name: Git checkout
uses: actions/checkout@v3
- name: Build image
run: ./build_image.sh ${{ env.REGISTRY }} ${{ matrix.repo }}
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push image to registry
run: docker push ${{ env.REGISTRY }}/sfg-taxonpages/${{ matrix.repo }}