diff --git a/.github/workflows/apptainer-build-deploy.yml b/.github/workflows/apptainer-build-deploy.yml index 8711da04..1a50ddb0 100644 --- a/.github/workflows/apptainer-build-deploy.yml +++ b/.github/workflows/apptainer-build-deploy.yml @@ -14,8 +14,7 @@ jobs: include: - os: ubuntu-latest artifact_name: gaps.sif - asset_name: gaps-linux-amd64 - body: GAPs Apptainer Image (ubuntu-latest) + asset_name: gaps-linux-amd64.sif # - os: windows-latest # artifact_name: mything.exe # asset_name: mything-windows-amd64 @@ -51,4 +50,3 @@ jobs: asset_name: ${{ matrix.asset_name }} tag: ${{ github.ref }} overwrite: true - body: ${{ matrix.body }} diff --git a/Apptainer b/Apptainer index de22387d..8e15e89d 100644 --- a/Apptainer +++ b/Apptainer @@ -9,10 +9,14 @@ From: python:3.11 %post echo "Installing vim" apt-get update && apt-get -y upgrade - apt-get -y --allow-unauthenticated install vim + apt-get -y --allow-unauthenticated install vim git wget nano make + + echo "Downloading GAPs" + git clone https://github.com/NREL/gaps.git echo "Installing GAPs..." - pip install NREL-gaps + cd gaps + pip install -e . %runscript "$@" \ No newline at end of file