Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 730 Bytes

File metadata and controls

32 lines (22 loc) · 730 Bytes

collector

Collects work requests and queues them to be executed

build and Run

go build
./collector

docker build

docker build -t ${GCP_GCR_HOSTNAME}/${GCP_PROJECT_ID}/collector:{VERSION} -f Dockerfile .

now a public repo

Previously, this repo and others in the org were private and required build arguments, which is necessary within an organization protecting its source code. Therefore, the Dockerfile supports the fetching of go-modules within private repositories through build arguments

--build-arg user=${user} --build-arg personal_access_token=${personal_access_token}

docker push

docker push ${GCP_GCR_HOSTNAME}/${GCP_PROJECT_ID}/collector:{VERSION}