From 6e208127c5c8b1ede767cd0f3af3a9b55c57f6c7 Mon Sep 17 00:00:00 2001 From: Jacob Weinstock Date: Tue, 3 Sep 2024 18:36:36 -0600 Subject: [PATCH] Update all CI action images: They were all very old. CI is failing because of the upload-artifact version. Signed-off-by: Jacob Weinstock --- .github/workflows/ci.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ed3e9a9..74a3b0b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,9 +10,9 @@ jobs: CGO_ENABLED: 0 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.7 - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v5.0.2 with: go-version: '1.20' - name: go fmt @@ -30,7 +30,7 @@ jobs: - name: Build binaries run: go build . - name: Upload pbnj binary - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4.4.0 with: name: pbnj path: ./pbnj @@ -43,25 +43,25 @@ jobs: run: | echo ::set-output name=tags::quay.io/tinkerbell/pbnj:latest,quay.io/tinkerbell/pbnj:sha-${GITHUB_SHA::8} - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4.1.7 - name: Download pbnj binary - uses: actions/download-artifact@v4.1.7 + uses: actions/download-artifact@v4.1.8 with: name: pbnj path: ./pbnj - name: set pbnj permission run: chmod +x ./pbnj - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v3.6.1 - name: Login to quay.io - uses: docker/login-action@v1 + uses: docker/login-action@v3.3.0 if: startsWith(github.ref, 'refs/heads/main') with: registry: quay.io username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} - name: quay.io/tinkerbell/pbnj - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v6.7.0 with: context: ./ file: ./Dockerfile