Skip to content

Commit

Permalink
Update all CI action images:
Browse files Browse the repository at this point in the history
They were all very old. CI is failing
because of the upload-artifact version.

Signed-off-by: Jacob Weinstock <[email protected]>
  • Loading branch information
jacobweinstock committed Sep 4, 2024
1 parent 31d8790 commit 290687f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
- name: Download pbnj binary
uses: actions/[email protected].7
uses: actions/[email protected].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
Expand Down

0 comments on commit 290687f

Please sign in to comment.