Skip to content

LANsible/github-workflows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 

Repository files navigation

github-workflows

Example

---
on:
  - push
  - workflow_dispatch

jobs:
  docker:
    uses: LANsible/github-workflows/.github/workflows/docker-build.yml@main
    with:
      image_name: lansible/home-assistant
      build_args: |
        COMPONENTS=frontend
        OTHER=auth.mfa_modules.totp
    secrets: inherit

Using a package manager cache

The target=<dir> must match the cache_dir argument to the action to be able to share the cache

RUN --mount=type=cache,target=/root/.cache
    pip3 install \
      --user \
      --no-warn-script-location \
      --compile \
      -r requirements.txt \
---
on:
  - push
  - workflow_dispatch

jobs:
  docker:
    uses: LANsible/github-workflows/.github/workflows/docker-build.yml@main
    with:
      image_name: lansible/home-assistant
      cache_dir: /root/.cache
    secrets: inherit

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published