Skip to content

include chewbbaca_scheme param #6

include chewbbaca_scheme param

include chewbbaca_scheme param #6

name: PPSKETCHLIB Singularity Image CI
on:
push:
paths:
- modules/local/ppsketchlib/**
workflow_dispatch:
env:
img_name: ${{ github.actor }}/ppsketchlib
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test-containers:
runs-on: ubuntu-latest
container:
image: quay.io/singularity/singularity:v3.8.1
options: --privileged
steps:
- name: Check out code for the container builds
uses: actions/checkout@v2
- name: Build Container
working-directory: ./modules/local/ppsketchlib/
env:
recipe: singularity.def
run: |
sudo -E singularity build container.sif ${{ env.recipe }}
- name: Login and Deploy Container
working-directory: ./modules/local/ppsketchlib/
run: |
echo ${{ secrets.MY_PAT }} | singularity remote login -u ${{ secrets.GHCR_USERNAME }} --password-stdin oras://ghcr.io
singularity push container.sif oras://ghcr.io/${{ env.img_name }}:2.1.1