Skip to content

error: could not create a builder instance with TLS data loaded from environment #105

@lexfrei

Description

@lexfrei

Behaviour

Steps to reproduce this issue

  1. Install k3s in your arm64 cluster
  2. Install actions-runner-controller
  3. Run your workflow there

Expected behaviour

No errors

Actual behaviour

error: could not create a builder instance with TLS data loaded from environment. Please use docker context create <context-name> to create a context for current environment and then create a builder instance with docker buildx create <context-name>

Configuration

name: Main Workflow

on:
  push

jobs:
  lint:
    runs-on: self-hosted
    steps:
      - uses: actions/checkout@v2.3.4
      - name: golangci-lint
        uses: golangci/golangci-lint-action@v2.5.2
        with:
          version: v1.42
      # Waiting for https://github.com/hadolint/hadolint-action/issues/38
      # - name: hadolint
      #   uses: hadolint/hadolint-action@v1.5.0
      #   with:
      #     dockerfile: build/vk2tg/Dockerfile

  build:
    needs: lint
    runs-on: self-hosted
    steps:

    - name: Docker meta
      id: docker_meta
      uses: docker/metadata-action@v3.5.0
      with:
        images: ghcr.io/${{ github.repository }}
        flavor: |
          latest=true
        tags: |
            type=ref,event=branch
            type=ref,event=pr
            type=sha
    - name: Set up QEMU
      uses: docker/setup-qemu-action@v1.2.0

    - name: Checkout
      uses: actions/checkout@v2.3.4

    - name: Set up Docker Buildx
      uses: docker/setup-buildx-action@v1.5.1

  <...>

Logs

logs_415.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions