Skip to content

ci: ubuntu-20.04: fix bundler version #5

ci: ubuntu-20.04: fix bundler version

ci: ubuntu-20.04: fix bundler version #5

name: ubuntu-22.04
on: [push]
jobs:
unittests:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Branch name
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
id: current_branch
- name: Build 22.04
run: docker build -t apaka/ubuntu-22.04 -f Dockerfile.ubuntu-22.04 . --build-arg PKG_BRANCH=${{ steps.current_branch.outputs.branch }}
- name: Test-on-ubuntu:22.04
run: docker run --privileged apaka/ubuntu-22.04 /bin/sh -c "cd /home/docker/apaka/; BUNDLE_GEMFILE=/home/docker/apaka/test/workspace/.autoproj/Gemfile rake test"