Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

win-t/gh-action-docker-state

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-action-docker-state

GitHub Action to restore/save /var/lib/docker directory.

Only supported on linux platform with docker installed

Usage

name: ci
on: push
jobs:
  list-images:
    runs-on: ubuntu-latest
    steps:
      - uses: win-t/gh-action-docker-state@v1
      - name: Inspect images
        run: |
          docker images
          docker pull nginx
          docker images

docker pull nginx only will pull from registry on the first run