Reputation: 46
I am seeing this error on Concourse with Mac system, concourse image I am using is rdclda/concourse:7.9.1
error: no workers satisfying: resource type 'docker-image', version: 'x.x'
docker-compose-for-concourse.yml
concourse-db:
image: postgres
environment:
POSTGRES_DB: concourse
POSTGRES_PASSWORD: concourse_pass
POSTGRES_USER: concourse_user
PGDATA: /database
concourse:
image: rdclda/concourse:7.9.1
platform: linux/arm64
command: quickstart
privileged: true
cgroup: host
depends_on: [concourse-db]
ports: ["8080:8080"]
environment:
CONCOURSE_POSTGRES_HOST: concourse-db
CONCOURSE_POSTGRES_USER: concourse_user
CONCOURSE_POSTGRES_PASSWORD: concourse_pass
CONCOURSE_POSTGRES_DATABASE: concourse
CONCOURSE_EXTERNAL_URL: http://localhost:8080
CONCOURSE_ADD_LOCAL_USER: test:test
CONCOURSE_MAIN_TEAM_LOCAL_USER: test
# instead of relying on the default "detect"
CONCOURSE_CLIENT_SECRET: Y29uY291cnNlLXdlYgo=
CONCOURSE_TSA_CLIENT_SECRET: Y29uY291cnNlLXdvcmtlcgo=
CONCOURSE_X_FRAME_OPTIONS: allow
CONCOURSE_CONTENT_SECURITY_POLICY: "*"
CONCOURSE_CLUSTER_NAME: tutorial
CONCOURSE_WORKER_CONTAINERD_DNS_SERVER: "8.8.8.8"
CONCOURSE_WORKER_RUNTIME: "containerd"
CONCOURSE_WORKER_BAGGAGECLAIM_DRIVER: overlay
pipeline.yml
- name: tutorial
type: git
source:
uri: https://github.com/drnic/concourse-tutorial.git
branch: develop
- name: hello-world-docker-image
type: docker-image
source:
email: ((docker-hub-email))
username: ((docker-hub-username))
password: ((docker-hub-password))
repository: ((docker-hub-username))/concourse-tutorial-hello-world
jobs:
- name: publish
public: true
serial: true
plan:
- get: tutorial
- put: hello-world-docker-image
params:
build: tutorial/tutorials/miscellaneous/docker-images/docker
Upvotes: 0
Views: 33
Reputation: 1
The error you get concerning the unknown field "build" is because you need to change it to a context field instead of build.
Upvotes: 0