Skip to content

source rvm in GHA

source rvm in GHA #10

Workflow file for this run

name: Build all images
on:
push:
branches: [ master ]
defaults:
run:
shell: bash
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Purge containers
run: 'docker kill $(docker ps -q) || exit 0'
- name: Enable docker multiarch
uses: docker/setup-qemu-action@v3
- name: "Run linux/setup-docker-images"
run: "./linux/setup-docker-images"
- name: Log in to the Container registry
if: ${{ github.event.pull_request.merged || github.actor == 'CamJN' }}
uses: docker/login-action@v3
id: login
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to github container registry
if: ${{ success() && steps.login.conclusion != 'skipped' }}
run: "./linux/publish-docker-images"