include chewbbaca_scheme param #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |