Skip to content

Merge pull request #379 from phusion/v2.6.0 #75

Merge pull request #379 from phusion/v2.6.0

Merge pull request #379 from phusion/v2.6.0 #75

Workflow file for this run

name: Build all images
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
defaults:
run:
shell: bash
jobs:
build-customizable:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_customizable
run: make build_customizable
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_customizable
build-ruby30:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_ruby30
run: make build_ruby30
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_ruby30
build-ruby31:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_ruby31
run: make build_ruby31
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_ruby31
build-ruby32:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_ruby32
run: make build_ruby32
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_ruby32
build-jruby93:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_jruby93
run: make build_jruby93
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_jruby93
build-jruby94:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_jruby94
run: make build_jruby94
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_jruby94
build-nodejs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_nodejs
run: make build_nodejs
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_nodejs
build-full:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
run: 'docker run --privileged --rm tonistiigi/binfmt --install all'
- name: Run make build_full
run: make build_full
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ github.event.pull_request.merged && github.ref == 'refs/heads/master' }}
run: make release_full