Skip to content

Merge branch 'master' into deploy #48

Merge branch 'master' into deploy

Merge branch 'master' into deploy #48

Workflow file for this run

name: Build & publish docker image
on:
workflow_dispatch:
push:
branches:
- deploy
jobs:
build:
runs-on: ubuntu-latest
environment: docker-deploy
strategy:
matrix:
subarch: [ppc64le]
image: [ ubuntu, [email protected], [email protected], [email protected], [email protected], fedora, fedora@40, fedora@39, fedora@38, fedora@37, fedora@36, fedora@35, fedora@34, fedora@33, [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] ]
env:
SUBARCH: ${{ matrix.subarch }}
IMAGE: ${{ matrix.image }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build docker image
run: make -C build rebuild-image@$SUBARCH@$IMAGE
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: linuxppc
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push docker image
run: make -C build push-image@$SUBARCH@$IMAGE