Skip to content

A GitHub Action to install & configure LXD on a runner.

Notifications You must be signed in to change notification settings

taurus-forever/setup-lxd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

setup-lxd

A GitHub Action which installs and configures the LXD snap on a runner.

By default, this action will install LXD from the latest/stable snap channel. You can specify a different channel using the channel input. (See snap info lxd for a list of available channels).

The action will also refresh the LXD snap to the latest version in a channel (only if LXD is installed from snap). It can be skipped using the option refresh: false.

Example usage

name: "Example"
on: push
jobs:
  job1:
    runs-on: ubuntu-latest
    steps:

    - name: Setup LXD
      uses: canonical/setup-lxd@[sha]
      with:
        channel: 5.0/stable
        refresh: false

    - name: Launch container
      run: |
        lxc launch ubuntu:22.04 u1

Maintainers

About

A GitHub Action to install & configure LXD on a runner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published