cirruslabs / cirrus-ci-agent

Agent to execute Cirrus CI tasks
Mozilla Public License 2.0
13 stars 6 forks source link

HTTP cache: implement GitHub Actions cache endpoints #349

Closed edigaryev closed 7 months ago

edigaryev commented 8 months ago

How to run locally for testing purposes:

  1. Generate a JWT token, see TestGHA
  2. Create a dummy Dockerfile, e.g. with FROM debian:latest contents
  3. docker buildx build -t whatever --cache-to type=gha,url=http://<your IP reachable from Docker VM>:12321/,token=<token generated in step 1>,scope=image .

Resolves https://github.com/cirruslabs/cirrus-ci-agent/issues/344.