From 03a459ae0e84c3b504455eaf2fe41d59ae1b0d10 Mon Sep 17 00:00:00 2001 From: Alex Couture-Beil Date: Thu, 10 Mar 2022 13:34:07 -0800 Subject: [PATCH] include docker login in sample This is to remind users to perform a docker login to avoid rate limiting. Signed-off-by: Alex Couture-Beil --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ceda48c..c449b34 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# actions -GitHub Actions for earthly +# actions-setup +GitHub Actions for setting up earthly To use earthly with hithub actions, create a file under `.github/workflows/ci.yml` with the contents: @@ -21,6 +21,8 @@ jobs: with: version: "latest" # or pin to an specific version, e.g. "v0.6.10" - uses: actions/checkout@v2 + - name: Docker login # to avoid dockerhub rate-limiting + run: docker login --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}" - name: what version is installed? run: earthly --version - name: run the earthly hello world