Skip to content

Test Brev Tutorial Docker Images #11

Test Brev Tutorial Docker Images

Test Brev Tutorial Docker Images #11

name: Test Brev Tutorial Docker Images
on:
workflow_dispatch:
inputs:
tutorial:
description: 'Tutorial name to test'
required: true
type: string
jobs:
test-tutorial:
runs-on: linux-amd64-gpu-t4-latest-1
steps:
- name: Show runner info
run: |
echo "Runner name: ${{ runner.name }}"
echo "Runner OS: ${{ runner.os }}"
echo "Runner arch: ${{ runner.arch }}"
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Test Docker Compose
run: |
cd /home/runner/_work/accelerated-computing-hub/accelerated-computing-hub
./brev/test-docker-compose.bash "tutorials/${{ inputs.tutorial }}/brev/docker-compose.yml"