Skip to content

Commit

Permalink
add missing environment vars (#384)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellozee authored Jul 20, 2021
1 parent 11fc28b commit 21d8538
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/sync_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,5 @@ jobs:
- name: Sync the tags
run: bash ./tetrateci/fetch_all_tags.sh
env:
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
API_KEY: ${{ secrets.BINTRAY_API_KEY }}
BINTRAY_API: ${{ secrets.BINTRAY_ARCHIVE_API }}
CLOUDSMITH_USER: ${{ secrets.CLOUDSMITH_USER }}
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }}
2 changes: 1 addition & 1 deletion tetrateci/upload_upstream_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ NEWTAG=$TAG-istio-v0

python3 -m pip install --upgrade cloudsmith-cli --user
# exit if the tag already exist
# curl $( sed "s/content/packages/g" <<< $BINTRAY_API )| jq ".versions[]" | grep -q "$NEWTAG" && exit
cloudsmith ls pkgs tetrate/getistio -F json | jq -r '.data[].filename' | cut -f1-3 -d. | rev | cut -f3- -d- | rev | grep istioctl | cut -f2 -d- | uniq | grep -q "$NEWTAG" && exit

echo "Creating a temporary directory to download $TAG release assets"
mkdir /tmp/release
Expand Down

0 comments on commit 21d8538

Please sign in to comment.