Skip to content

Commit 0b6237a

Browse files
feat: add container with home-manager config (#8)
* feat: add container with home-manager config * feat: build scipod
1 parent 67bf4ef commit 0b6237a

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/ci.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,20 @@ jobs:
4646
containerfile-path: "containers/Containerfile.${{ github.job }}"
4747
push-condition: ${{ github.event_name != 'pull_request' }}
4848
github-token: ${{ secrets.GITHUB_TOKEN }}
49+
50+
scipod:
51+
needs: [scan,scidev]
52+
runs-on: ubuntu-latest
53+
permissions:
54+
contents: read
55+
packages: write
56+
steps:
57+
- uses: actions/checkout@v4
58+
- name: Tag Build and Push Testing Container
59+
uses: ./.github/actions/tag-build-push-container
60+
with:
61+
registry: ghcr.io
62+
image-name: ${{ github.repository_owner }}/${{ github.job }}
63+
containerfile-path: "containers/Containerfile.${{ github.job }}"
64+
push-condition: ${{ github.event_name != 'pull_request' }}
65+
github-token: ${{ secrets.GITHUB_TOKEN }}

containers/Containerfile.scipod

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
FROM ghcr.io/sciexp/scidev:latest as conda_stage
2+
3+
FROM ghcr.io/cameronraysmith/nixpod:latest
4+
5+
ENV NVIDIA_VISIBLE_DEVICES=all
6+
ENV LD_LIBRARY_PATH=/usr/local/nvidia/lib64
7+
8+
COPY --from=conda_stage /opt/conda/ /opt/conda/
9+
COPY --from=conda_stage /scidev/ /scidev/

0 commit comments

Comments
 (0)