mattes / cached-docker-build-action

Store and retrieve docker images from Github Cache.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cached Docker Build

This Github Action caches docker builds using the official actions/cache library.

Github Action Inputs

Variable Description
args Required Arguments passed to docker build command
cache_key Required Key used for caching

Example Usage

uses: mattes/cached-docker-build-action@v1
with:
  args: "--pull --file Dockerfile --tag my-image:tag ."
  cache_key: "${{ hashFiles('**/lockfiles') }}"

Future work

About

Store and retrieve docker images from Github Cache.

License:The Unlicense


Languages

Language:JavaScript 96.6%Language:Makefile 3.4%