Toolkit for Docker (GitHub) Actions
Go to file
Paweł Gronowski e3d0e4e199
Support image source on darwin
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>
2024-10-18 14:57:40 +02:00
__mocks__/@actions github: set attempts to workflowRunURL 2024-05-27 19:57:40 +02:00
__tests__ Support image source on darwin 2024-10-18 14:57:40 +02:00
.github github: update .github/buildx-releases.json 2024-10-09 12:07:51 +00:00
.yarn/plugins/@yarnpkg chore: use corepack to install yarn 2024-04-29 13:39:36 +02:00
hack/dockerfiles fix license headers 2023-03-02 15:39:25 +01:00
src Support image source on darwin 2024-10-18 14:57:40 +02:00
.dockerignore update to Yarn 3.3.1 2023-01-30 03:22:04 +01:00
.editorconfig initial implementation 2023-01-17 12:07:05 +01:00
.eslintignore fix eslint config and lint issues 2023-02-01 12:51:48 +01:00
.eslintrc.json chore: update dev dependencies 2024-05-07 12:34:45 +02:00
.gitattributes oci: loadArchive to import an index from a tar archive image bundle 2024-05-29 11:11:12 +02:00
.gitignore update to Yarn 3.3.1 2023-01-30 03:22:04 +01:00
.prettierignore fix eslint config and lint issues 2023-02-01 12:51:48 +01:00
.prettierrc.json initial implementation 2023-01-17 12:07:05 +01:00
.yarnrc.yml chore: use corepack to install yarn 2024-04-29 13:39:36 +02:00
codecov.yml codecov config 2023-01-17 12:08:13 +01:00
dev.Dockerfile dockerfile: bump buildx to 0.17.1 2024-09-13 18:01:28 +02:00
docker-bake.hcl chore: set license headers 2023-01-31 03:34:59 +01:00
jest.config.itg.ts jest: keep original github env vars for integration tests 2024-06-18 10:59:04 +02:00
jest.config.ts github: set attempts to workflowRunURL 2024-05-27 19:57:40 +02:00
LICENSE LICENSE 2023-01-17 12:01:18 +01:00
package.json build(deps): bump @actions/artifact from 2.1.10 to 2.1.11 2024-10-08 23:01:47 +00:00
README.md ci: move validate to a dedicated workflow 2023-03-26 19:03:34 +02:00
tsconfig.json tsconfig: switch to es6 target 2024-04-22 15:10:34 +02:00
yarn.lock build(deps): bump @actions/artifact from 2.1.10 to 2.1.11 2024-10-08 23:01:47 +00:00

Version Downloads Build workflow Test workflow Validate workflow Codecov

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:

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