Skip to content

Commit

Permalink
Set best practice bash options in shell script
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdobrev committed Aug 13, 2022
1 parent 1f4fafc commit 3ef78dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -euxo pipefail

mc alias set deploy $MINIO_ENDPOINT $MINIO_ACCESS_KEY $MINIO_SECRET_KEY

mc mirror --overwrite $1 "deploy/$2"

0 comments on commit 3ef78dd

Please sign in to comment.