pixelcrane

command module
v0.0.0-...-178cce0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

pixelcrane

pixelcrane logo

pixelcrane is a tool for extracting files from the layers of a container image. pixelcrane was designed for use in automated extraction as a Github Action.

pixelcrane is based heavily on crane.

usage

Create a repository and add a .github/workflows/pixelcrane.yml file. An example is shown below:

name: pixelcrane

on:
  workflow_dispatch:
  schedule:
    - cron: "0 0 * * 1"
    
jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 30
    steps:
    - uses: actions/checkout@v2
      fetch-depth: '0'
    - uses: amlweems/pixelcrane@v1
      with:
        image: debian
        filter: etc/(passwd|shadow)

pixelcrane will iterate over all tags ordered by creation time, extract files matching the provided regex filter, and commit them to the repo. By default, pixelcrane stores these files in a directory called rootfs and tracks its progress in git tags.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL