Skip to content
Snippets Groups Projects
Commit 07006419 authored by Miroslav Kratochvil's avatar Miroslav Kratochvil :bicyclist:
Browse files

update singularity

parent 268bc048
No related branches found
No related tags found
No related merge requests found
name: Publish Singularity image
name: Build and publish apptainer image
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
create:
push:
branches:
- mk-singularity
jobs:
build:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
name: Build
runs-on: ubuntu-18.04
name: build
runs-on: ubuntu-20.04
strategy:
matrix:
singularity_version:
- '3.5.3'
- '3.8.1'
container:
image: quay.io/singularity/singularity:v${{ matrix.singularity_version }}
options: --privileged
......@@ -35,14 +34,13 @@ jobs:
ls
fi
deploy:
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
name: Deploy
runs-on: ubuntu-18.04
publish:
name: publish
runs-on: ubuntu-20.04
strategy:
matrix:
singularity_version:
- '3.5.3'
- '3.8.1'
container:
image: quay.io/singularity/singularity:v${{ matrix.singularity_version }}
options: --privileged
......@@ -62,4 +60,4 @@ jobs:
- name: Deploy Container
run: |
sudo pip3 install sregistry
SREGISTRY_CLIENT=registry sregistry push --name cylon-x/lcsb-biocore cobrexa.sif
\ No newline at end of file
SREGISTRY_CLIENT=registry sregistry push --name cylon-x/lcsb-biocore cobrexa.sif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment