Skip to content

Commit

Permalink
Add jq comamnd to update Docker version in CWL (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
adthrasher authored Sep 14, 2021
1 parent b69cfad commit 69f1ab8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/cgc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ jobs:
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: jordan-rash/[email protected]
with:
Expand Down

0 comments on commit 69f1ab8

Please sign in to comment.