Skip to content

pixelcrane is a tool for extracting files from the layers of a container image

License

Notifications You must be signed in to change notification settings

amlweems/pixelcrane

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

pixelcrane is a tool for extracting files from the layers of a container image

Resources

License

Stars

Watchers

Forks

Packages

No packages published