Skip to content

Instantly share code, notes, and snippets.

@jvanderhoof
Last active December 26, 2017 08:20
Show Gist options
  • Save jvanderhoof/c943179fdad522fc9a6cce02fa1b857b to your computer and use it in GitHub Desktop.
Save jvanderhoof/c943179fdad522fc9a6cce02fa1b857b 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