SHA256 with PARCS.
Authenticate with DockerHub:
docker loginBuild:
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-runner-parcs:latest ./runner
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-service-parcs:latest ./servicePush:
docker push nikitamasych/sha256-runner-parcs:latest
docker push nikitamasych/sha256-service-parcs:latestOr combined:
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-runner-parcs:latest --push ./runner
docker buildx build --platform=linux/amd64 -t nikitamasych/sha256-service-parcs:latest --push ./servicegcloud compute ssh leader
sudo docker service create \
--name runner \
--network parcs \
--restart-condition none \
--env LEADER_URL=tcp://10.186.0.7:4321 \
--env WORKERS=2 \
--env SIZE=1048576 \
--env SERVICE_IMAGE=nikitamasych/sha256-service-parcs:latest \
nikitamasych/sha256-runner-parcs:latest