Skip to content

Commit

Permalink
Merge pull request #165 from jacobweinstock/update-ci-deps
Browse files Browse the repository at this point in the history
Update all CI action images:

## Description

<!--- Please describe what this PR is going to change -->
They were all very old. CI is failing because of the upload-artifact version.

## Why is this needed

<!--- Link to issue you have raised -->

Fixes: #

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->


## How are existing users impacted? What migration steps/scripts do we need?

<!--- Fixes a bug, unblocks installation, removes a component of the stack etc -->
<!--- Requires a DB migration script, etc. -->


## Checklist:

I have:

- [ ] updated the documentation and/or roadmap (if required)
- [ ] added unit or e2e tests
- [ ] provided instructions on how to upgrade
  • Loading branch information
jacobweinstock authored Sep 4, 2024
2 parents 31d8790 + 6e20812 commit 99a8195
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.1.7
- 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 99a8195

Please sign in to comment.