Skip to content

FIX: fixing fg_scale in mfs.cu #30

FIX: fixing fg_scale in mfs.cu

FIX: fixing fg_scale in mfs.cu #30

name: build-latest-container
on:
pull_request:
branches: [master]
types: [opened, reopened, synchronize, closed]
paths:
- '**.cu'
- '**.cuh'
- '**.c'
- '**.h'
- '**.cpp'
- '**.hpp'
- '**.cmake'
- CMakeLists.txt
- Dockerfile.prod
env:
REGISTRY: ghcr.io
jobs:
build-latest-container:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push Docker Image
uses: docker/build-push-action@v6
with:
file: ./Dockerfile.prod
push: true # Will only build if this is not here
tags: ${{ env.REGISTRY }}/${{ github.repository }}:latest
secrets: |
"BRANCH_NAME=${{ github.head_ref || github.ref_name }}"