Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Install Golang 1.19 for builds #90

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Build antrea-operator Docker image
run: make docker-build
- name: Build antrea-operator-bundle Docker image
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/build_tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ jobs:
runs-on: [ubuntu-latest]
needs: get-version
steps:
- uses: actions/checkout@v2
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: 1.19
- uses: actions/checkout@v4
- name: Build antrea-operator Docker image
env:
VERSION: ${{ needs.get-version.outputs.version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/certification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
validate_image:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Run container certification
env:
VERSION: ${{ github.event.inputs.version_tag }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check-out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build antrea-operator binary
run: make bin
- name: Run tests
Expand All @@ -26,10 +26,10 @@ jobs:
runs-on: [ubuntu-latest]
steps:
- name: Set up Go 1.19
uses: actions/setup-go@v1
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Check-out code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Check tidy
run: make test-tidy
2 changes: 1 addition & 1 deletion .github/workflows/validate_imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
if: github.repository == 'vmware/antrea-operator-for-kubernetes'
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Validate antrea-manifest/antrea.yml
run: |
TMP_MANIFEST=$(mktemp /tmp/antrea.yml.XXXXXXX)
Expand Down
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ COPY version/ version/
# Build
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GO111MODULE=on go build -a -o manager main.go


FROM golang:1.19.10 as golang-build
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest

LABEL name="antrea-operator-for-kubernetes"
Expand Down
Loading