Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update all CI action images: #165

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/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/#-action@v1
uses: docker/#-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
Loading