mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-23 03:16:09 +08:00
Toolkit for Docker (GitHub) Actions
e3d0e4e199
Use undock inside lima to pull the image content. We could mount the downloaded binaries from the host, but for some reason lima mounts are not always mounted when the provisioning script is run. Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.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