Skip to content

Commit

Permalink
Add first workflow to build singularity image
Browse files Browse the repository at this point in the history
  • Loading branch information
benlee0423 authored Mar 6, 2024
1 parent e21ba71 commit c12db33
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/singularity_image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Push Singularity Image

on:
push:
branches:
- main
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
runs-on: X86

steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Build Singularity Image
run: |
singularity build ciroh-ngen-singularity.sif singularity/singularity_ngen.def
- name: Push Singularity Image to Library
run: |
singularity push -U ciroh-ngen-singularity.sif library://awiciroh/ngiab/ciroh-ngen-singularity:latest

0 comments on commit c12db33

Please sign in to comment.