Skip to content

Commit

Permalink
remove credentials file after sourcing it
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamSimpson committed Jan 31, 2018
1 parent 72eb3c0 commit 87fb3fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Scripts/docker-builder-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# This script is run as root and so builder user environment variables aren't passed through
source /home/builder/registry-credentials
rm /home/builder/registry-credentials

# Test for any arguments, such as --debug
for i in "$@"
Expand Down
1 change: 1 addition & 0 deletions Scripts/singularity-builder-backend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# This script is run as root and so builder user environment variables aren't passed through
source /home/builder/registry-credentials
rm /home/builder/registry-credentials

# Test for any arguments, such as --debug
for i in "$@"
Expand Down

0 comments on commit 87fb3fe

Please sign in to comment.