Skip to content

Merge pull request #18 from savonarola/0406-fix-segfault #38

Merge pull request #18 from savonarola/0406-fix-segfault

Merge pull request #18 from savonarola/0406-fix-segfault #38

Workflow file for this run

name: Build and push images
on:
workflow_dispatch:
push:
branches:
- 'dev'
- 'main'
defaults:
run:
shell: 'bash -Eeuo pipefail {0}'
jobs:
main:
runs-on: ubuntu-22.04
strategy:
matrix:
otp:
- version: 25
pip_flags: ''
- version: 26
pip_install_flags: '--break-system-packages'
fdb-version: ['7.3.27']
steps:
- uses: actions/checkout@v4
- name: Docker login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- uses: docker/build-push-action@v3
with:
push: true
tags: ghcr.io/${{ github.repository }}:erlang-${{ matrix.otp.version }}-fdb-${{ matrix.fdb-version }}
file: .devcontainer/Dockerfile
context: .devcontainer
build-args: |
FDB_VERSION=${{ matrix.fdb-version }}
ERLANG_VERSION=${{ matrix.otp.version }}
PIP_INSTALL_FLAGS=${{ matrix.otp.pip_install_flags }}