Skip to content

Instantly share code, notes, and snippets.

@cyeong
Forked from jvanderhoof/jenkins-example-publish.sh
Created December 26, 2017 08:20
Show Gist options
  • Save cyeong/0f8ad6e2757ee58d3ded30f5718242d3 to your computer and use it in GitHub Desktop.
Save cyeong/0f8ad6e2757ee58d3ded30f5718242d3 to your computer and use it in GitHub Desktop.
#!/bin/bash -e
docker pull registry.tld/conjurinc/publish-rubygem
summon --yaml "RUBYGEMS_API_KEY: !var rubygems/api-key" \
docker run \
--rm \
--env-file @SUMMONENVFILE \
-v "$(pwd)":/opt/src \
registry.tld/conjurinc/publish-rubygem conjur-api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment