Skip to content

Depot Pull

Actions
Pull images from the Depot ephemeral registry
v1.2.0
Latest
Verified creator
Star (4)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

depot/pull-action

This action pulls images from the Depot ephemeral registry. It's intended to be used with save: true in the depot/build-push-action.

Usage

Download and use the latest version of the CLI:

jobs:
  job-name:
    steps:
      - uses: depot/setup-action@v1
      - uses: depot/build-push-action@v1
        id: build
        with:
          save: true
      - uses: depot/pull-action@v1
        with:
          build-id: ${{ steps.build.outputs.build-id }}
          tags: |
            org/repo:tag

Pull all bake image targets:

jobs:
  job-name:
    steps:
      - uses: depot/setup-action@v1
      - uses: depot/bake-action@v1
        with:
          save: true
      - uses: depot/pull-action@v1
        with:
          build-id: ${{ steps.build.outputs.build-id }}

Inputs

Name Type Required Description
build-id string yes The build ID to pull images for.
platform string no The image platform to pull (defaults to the current platform).
tags list/CSV no A list of tags to apply to the pulled image.
targets list/CSV no Only pull specific bake targets rather than all.
token string no The API token to use for authentication. This can be overridden by the DEPOT_TOKEN environment variable.

License

MIT License, see LICENSE.

Depot Pull is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Pull images from the Depot ephemeral registry
v1.2.0
Latest

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Depot Pull is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.