Skip to content

Compatibility layer for EESSI version 2026.06 #58

Compatibility layer for EESSI version 2026.06

Compatibility layer for EESSI version 2026.06 #58

name: Build and publish EESSI Docker image used for building the compatibility layer
on:
push:
branches:
- main
paths:
- Dockerfile.build-node-compat-layer-*
- bootstrap-prefix.sh
pull_request:
branches:
- main
paths:
- Dockerfile.build-node-compat-layer-*
- bootstrap-prefix.sh
# Declare default permissions as read only.
permissions: read-all
jobs:
build_and_publish:
name: Build and publish image
runs-on: ubuntu-24.04-arm
permissions:
packages: write
strategy:
matrix:
include:
- os: 'debian-12'
platform: 'amd64, arm64'
- os: 'debian-13'
platform: 'amd64, arm64, riscv64'
steps:
- name: Check out the repo
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3.6.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Convert and store repository owner in lowercase
run: |
echo "REPOSITORY_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV
- name: Build and push to GitHub Packages
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
with:
tags: ghcr.io/${{ env.REPOSITORY_OWNER }}/build-node-compat-layer:${{ matrix.os }}
file: Dockerfile.build-node-compat-layer-${{ matrix.os }}
platforms: ${{ matrix.platform }}
push: ${{ github.event_name != 'pull_request' }}