Skip to content

Commit

Permalink
try authorized users
Browse files Browse the repository at this point in the history
  • Loading branch information
frostbyte73 committed Jun 19, 2024
1 parent a48c2f3 commit bc555a9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish-chrome.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
id: create_builder
run: |
builder_info="$(linode-cli linodes create \
--authorized_keys '${{ secrets.LINODE_SSH_PUBLIC_KEY }}' \
--authorized_users dclivekit \
--backups_enabled false \
--booted true \
--image linode/ubuntu22.04 \
--label chrome-builder \
Expand All @@ -48,7 +49,7 @@ jobs:
while [ "$status" == "provisioning" ] || [ "$status" == "booting" ]; do \
status=$(linode-cli linodes view ${{ steps.create_builder.outputs.builder_id }} --json | jq -r '.[0].status'); \
echo "Builder status: $status"; \
sleep 5; \
sleep 15; \
done
env:
LINODE_CLI_TOKEN: ${{ secrets.LINODE_PAT }}
Expand All @@ -61,7 +62,7 @@ jobs:
chmod 600 ~/.ssh/linode_ed25519.pub
echo "${{ secrets.LINODE_SSH_PRIVATE_KEY }}" > ~/.ssh/linode_ed25519
chmod 600 ~/.ssh/linode_ed25519
echo "${{ steps.create_builder.outputs.builder_ip }} ssh-ed25519 ${{ secrets.LINODE_SSH_PUBLIC_KEY }}" >> ~/.ssh/known_hosts
ssh-keyscan -H ${{ steps.create_builder.outputs.builder_ip }} > ~/.ssh/known_hosts
- name: Setup
run: |
Expand Down

0 comments on commit bc555a9

Please sign in to comment.