Skip to content

version 3.3.5

version 3.3.5 #18

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/rnaindel
VERSION_TAG: ${{ github.event.release.tag_name }}
run: |
jq --arg image "${{ env.IMAGE }}:${{ env.VERSION_TAG }}" '(.requirements | .[] | select(.class == ("DockerRequirement")) | .dockerPull) |= $image' cgc/rnaindel.cwl > cgc/rnaindel.cwl.new
mv cgc/rnaindel.cwl.new cgc/rnaindel.cwl
cat cgc/rnaindel.cwl
- id: cgcdeploy
uses: stjudecloud/[email protected]
with:
file_location: "cgc/rnaindel.cwl"
shortid: "stjude/rnaindel/rnaindel"
env:
CGC_TOKEN: ${{ secrets.CGC_TOKEN }}