Upgrade base image to 24.04 and Cuda 12.2 #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build image with PR changes | |
on: | |
push: | |
branches-ignore: | |
- main | |
pull_request: | |
branches: | |
- main | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build image | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: 🔢 Get the current PR number | |
uses: jwalton/gh-find-current-pr@v1 | |
id: is_pr | |
with: | |
state: open | |
- name: Build image | |
id: build-image | |
if: ${{ steps.is_pr.outputs.number }} | |
uses: redhat-actions/buildah-build@v2 | |
with: | |
image: ubuntu-toolbox | |
tags: latest pr-${{ steps.is_pr.outputs.number }} | |
containerfiles: | | |
./Dockerfile |