Skip to content

v1.9.6

v1.9.6 #19

Workflow file for this run

name: "Deploy to CGC"
on:
release:
types: [released, edited]
jobs:
cgc:
runs-on: ubuntu-20.04
name: "Deploy"
steps:
- uses: actions/checkout@v2
- name: Set the docker tag from Repo Tag
id: set_dockertag
env:
IMAGE: cgc-images.sbgenomics.com/stjude/cicero
VERSION_TAG: ${{ github.event.release.tag_name }}
run: |
jq --arg image "${{ env.IMAGE }}:${{ env.VERSION_TAG }}" '(.requirements | .[] | select(.class == ("DockerRequirement")) | .dockerPull) |= $image' cgc/cicero.cwl > cgc/cicero.cwl.new
mv cgc/cicero.cwl.new cgc/cicero.cwl
cat cgc/cicero.cwl
- id: cgcdeploy
uses: stjudecloud/[email protected]
with:
file_location: "cgc/cicero.cwl"
shortid: "stjude/cicero/cicero"
devkey: ${{ secrets.CGC_TOKEN }}
env:
CGC_TOKEN: ${{ secrets.CGC_TOKEN }}