forked from tinkerbell/pbnj
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
They were all very old. CI is failing because of the upload-artifact version. Signed-off-by: Jacob Weinstock <[email protected]>
- Loading branch information
1 parent
31d8790
commit 6e20812
Showing
1 changed file
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[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 | ||
|