Forked from jvanderhoof/jenkins-example-publish.sh
Created
December 26, 2017 08:20
-
-
Save cyeong/0f8ad6e2757ee58d3ded30f5718242d3 to your computer and use it in GitHub Desktop.
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
#!/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