From 09aa8d200f021c1a18636e89951bbb9f1780c1c6 Mon Sep 17 00:00:00 2001 From: Ryan Mast Date: Wed, 22 Jan 2025 10:15:45 -0800 Subject: [PATCH] Check mirroring/rate limit headers on GHA runners --- .github/workflows/test-dockerhub-pulls.yml | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test-dockerhub-pulls.yml diff --git a/.github/workflows/test-dockerhub-pulls.yml b/.github/workflows/test-dockerhub-pulls.yml new file mode 100644 index 0000000..b1de37b --- /dev/null +++ b/.github/workflows/test-dockerhub-pulls.yml @@ -0,0 +1,27 @@ +name: Run Crane Commands + +on: [push] + +jobs: + run-crane: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v2 + + - name: Download go-containerregistry + run: wget https://github.com/google/go-containerregistry/releases/download/v0.20.3/go-containerregistry_Linux_x86_64.tar.gz + + - name: Extract go-containerregistry + run: tar -xzf go-containerregistry_Linux_x86_64.tar.gz + + - name: Run crane config 1 + run: ./crane config busybox:1.37.0 -v + + - name: Run crane config 2 + run: ./crane config busybox:1.37.0 -v + + - name: Run crane config 3 + run: ./crane config busybox:1.37.0 -v +