Skip to content

Commit

Permalink
install gcsfuse
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalsaleh committed Nov 29, 2023
1 parent 46014df commit 49753c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/actions/build-push-kotsadm-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ runs:
BUCKET: replicated-apk-registry
shell: bash
run: |
# Install gcsfuse
export GCSFUSE_REPO=gcsfuse-`lsb_release -c -s`
echo "deb [signed-by=/usr/share/keyrings/cloud.google.asc] https://packages.cloud.google.com/apt $GCSFUSE_REPO main" | sudo tee /etc/apt/sources.list.d/gcsfuse.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo apt-get update -y
sudo apt-get install gcsfuse -y
# Set up a gcsfuse RO mount to the bucket containing private packages. This is a cheap and
# cheerful way to get access to objects we need, without having to fetch all of them.
mkdir -p /tmp/gcsfuse/apk-repo
Expand Down

0 comments on commit 49753c4

Please sign in to comment.