File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949
5050 - name : Login and Deploy Container
5151 if : (github.event_name != 'pull_request')
52- run : |
53- if [[ "${keepgoing}" == "true" ]]; then
54- echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
55- container_name=$(echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')
56- singularity push container.sif oras://ghcr.io/${container_name}:${tag}
57- fi
52+ run : |
53+ echo ${{ secrets.GITHUB_TOKEN }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
54+ container_name=$(echo ${GITHUB_REPOSITORY} | tr '[:upper:]' '[:lower:]')
55+ singularity push container.sif oras://ghcr.io/${container_name}:${tag}
Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ FROM python:3.9.19-slim-bookworm
33COPY pyproject.toml /opt/PartiNet/pyproject.toml
44COPY partinet /opt/PartiNet/partinet
55
6+ RUN apt-get update && apt-get install libglib2.0-0 libxext6 libx11-6 -y && rm -rf /var/cache/apt/archives /var/lib/apt/lists/* && apt-get clean
67RUN python -m pip install --no-cache-dir --no-cache /opt/PartiNet
78
89LABEL AUTHORS Mihin Perera, Edward Yang, Julie Iskander
910LABEL MAINTAINERS Mihin Perera, Edward Yang, Julie Iskander
10- LABEL VERSION v0.0.01
11+ LABEL VERSION v0.1.1
Original file line number Diff line number Diff line change @@ -5,9 +5,17 @@ from: python:3.9.19-slim-bookworm
55 . /opt/PartiNet
66
77% post
8+ # install system dependencies
9+ apt-get update
10+ apt-get install libglib2.0-0 libxext6 libx11-6 -y
11+
12+ # cleanup apt package index
13+ rm -rf /var/cache/apt/archives /var/lib/apt/lists/*
14+ apt-get clean
15+
816 python -m pip install --no-cache-dir /opt/PartiNet
917
1018% labels
1119 AUTHORS Mihin Perera, Edward Yang, Julie Iskander
1220 MAINTAINERS Mihin Perera, Edward Yang, Julie Iskander
13- VERSION v0.0.01
21+ VERSION v0.1.1
You can’t perform that action at this time.
0 commit comments