Skip to content

Commit

Permalink
Upload nightly builds to GCS (rilldata#1514)
Browse files Browse the repository at this point in the history
Failing due to
google-github-actions/upload-cloud-storage failed with: EACCES: permission denied, scandir '/home/runner/work/rill-developer/rill-developer/dist/goreleaserdocker1062396503'
  • Loading branch information
himadrisingh authored Dec 22, 2022
1 parent c375165 commit 40ca41f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/cli-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,17 @@ jobs:
echo '${{ secrets.DOCKERHUB_PASS }}' | docker login -u '${{ secrets.DOCKERHUB_USER }}' --password-stdin
docker tag rilldata/rill:latest rilldata/rill:nightly
docker push rilldata/rill:nightly
rm -rf dist/goreleaserdocker*
- name: Prepare for nightly GCS upload
if: github.event_name == 'schedule'
run: |-
mkdir nightly
mv dist/*.zip nightly/
mv dist/checksums.txt nightly/
- name: Upload nightly to CDN
if: github.event_name == 'schedule'
uses: google-github-actions/upload-cloud-storage@v1
with:
path: dist/
destination: prod-cdn.rilldata.com/rill/nightly/
path: nightly/
destination: prod-cdn.rilldata.com/rill/
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ testInstalledBinary() {

# Parse input flag
case $1 in
--nightly) VERSION=nightly/dist;;
--nightly) VERSION=nightly;;
*) VERSION=latest;;
esac

Expand Down

0 comments on commit 40ca41f

Please sign in to comment.