@toa.io/operations
TypeScript icon, indicating that this package has built-in type declarations

0.24.0-alpha.0 • Public • Published

Toa Operations

Context

Container Registry

Build Options

# context.toa.yaml

registry:
  build:
    arguments: [GITHUB_TOKEN]
    run: npm config set //npm.pkg.github.com/:_authToken ${GITHUB_TOKEN}

arguments is a list of environemt varialbes to be passed to docker build.

run is a command(s) to be executed during build. Multiline is supported.

# context.toa.yaml

registry:
  build:
    run: |
      echo test > .test
      rm .test

Registry Credentials

When using private container registry, a secret containing required credentials can be specified using registry.credentials option.

# context.toa.yaml

registry:
  credentials: docker-credentials-secret-name

Readme

Keywords

none

Package Sidebar

Install

npm i @toa.io/operations

Homepage

toa.io

Weekly Downloads

383

Version

0.24.0-alpha.0

License

MIT

Unpacked Size

38.4 kB

Total Files

51

Last publish

Collaborators

  • agurtovoi