logo

nscloud-setup-buildx-action

namespacelabs/nscloud-setup-buildx-action is a GitHub action that configures Docker buildx to use Namespace Remote Builders.

Prerequisites

In order to use nscloud-setup-buildx-action, you need to have access to Namespace. The easiest way to ensure access is to run namespacelabs/nscloud-setup beforehand.

Example

jobs:
  docker:
    runs-on: ubuntu-latest
    # These permissions are needed to interact with GitHub's OIDC Token endpoint.
    permissions:
      id-token: write
      contents: read
    steps:
      - uses: actions/checkout@v4
      - uses: namespacelabs/nscloud-setup@v0
      - name: Configure Docker to use Namespace Remote Builders
        uses: namespacelabs/nscloud-setup-buildx-action@v0
      - name: Build and push
        uses: docker/build-push-action@v5
        with:
          push: true
          tags: user/app:latest

Options

nscloud-setup-buildx-action has no parameters.

Outputs

nscloud-setup-buildx-action has no outputs.