mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
Toolkit for Docker (GitHub) Actions
8dfe7ecbd9
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> |
||
---|---|---|
__mocks__/@actions | ||
__tests__ | ||
.github | ||
.yarn/plugins/@yarnpkg | ||
hack/dockerfiles | ||
src | ||
.dockerignore | ||
.editorconfig | ||
.eslintignore | ||
.eslintrc.json | ||
.gitattributes | ||
.gitignore | ||
.prettierignore | ||
.prettierrc.json | ||
.yarnrc.yml | ||
codecov.yml | ||
dev.Dockerfile | ||
docker-bake.hcl | ||
jest.config.itg.ts | ||
jest.config.ts | ||
LICENSE | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Actions Toolkit
Toolkit for Docker (GitHub) Actions.
🧪 Experimental
This repository is considered EXPERIMENTAL and under active development until further notice. It is subject to non-backward compatible changes or removal in any future version.
About
This repository contains the source code for the toolkit that is consumed as a library by most of our GitHub Actions:
- docker/bake-action
- docker/build-push-action
- docker/login-action
- docker/metadata-action
- docker/setup-buildx-action
- docker/setup-qemu-action
This toolkit provides some utilities and common logic when developing GitHub Actions and also acts as a minimal wrapper around our build tooling such as Buildx and BuildKit and provides an easier API for interacting with them.
Installation
$ npm install @docker/actions-toolkit
Usage
const { Toolkit } = require('@docker/actions-toolkit/lib/toolkit')
const toolkit = new Toolkit()
Contributing
Want to contribute to the Actions Toolkit? Awesome! You can find information about contributing to this project in the CONTRIBUTING.md