Skip to content

Commit

Permalink
this could be it
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromegn committed Jun 20, 2018
1 parent 8fbd6ba commit 13e725e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,12 @@ mc config host add s3 https://s3.amazonaws.com $AWS_S3_ACCESS_KEY_ID $AWS_S3_SEC

echo "Pushing to s3/flyio-wormhole-builds/$VERSION/"

mc mirror pkg/ s3/flyio-wormhole-builds/$VERSION
mc -q mirror --remove --overwrite pkg/ s3/flyio-wormhole-builds/$VERSION

echo "Pushing to s3/flyio-wormhole-builds/$CHANNEL/"
# also set the version as the latest
# TODO: there must be a better way to copy/symlink objects in S3 instead of uploading again
mc mirror pkg/ s3/flyio-wormhole-builds/$CHANNEL
mc -q mirror --remove --overwrite pkg/ s3/flyio-wormhole-builds/$CHANNEL

echo "Building and pushing to Docker Hub"

Expand Down

0 comments on commit 13e725e

Please sign in to comment.