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

update to go 1.23 #59

Merged
merged 1 commit into from
Aug 21, 2024
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/pr-created.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pull_request_created
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
branches:
branches:
- 'master'
- 'main'
paths-ignore:
Expand All @@ -17,5 +17,5 @@ jobs:
pr-created:
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-created.yaml@main
with:
GO_VERSION: "1.21.1"
secrets: inherit
GO_VERSION: "1.23"
secrets: inherit
8 changes: 4 additions & 4 deletions .github/workflows/pr-merged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: build
on:
pull_request_target:
types: [closed]
branches:
branches:
- 'master'
- 'main'
paths-ignore:
Expand All @@ -12,10 +12,10 @@ on:
# push:
# tags:
# - 'v*'

jobs:
pr-merged:
if: ${{ github.event.pull_request.merged == true }} ## Skip if not merged
if: ${{ github.event.pull_request.merged == true }} ## Skip if not merged
uses: kubescape/workflows/.github/workflows/incluster-comp-pr-merged.yaml@main
with:
IMAGE_NAME: quay.io/${{ github.repository_owner }}/kollector
Expand All @@ -24,7 +24,7 @@ jobs:
CGO_ENABLED: 0
GO111MODULE: ""
BUILD_PLATFORM: linux/amd64,linux/arm64
GO_VERSION: "1.21.1"
GO_VERSION: "1.23"
REQUIRED_TESTS: '[
"vuln_scan",
"vuln_scan_trigger_scan_on_new_image",
Expand Down
3 changes: 1 addition & 2 deletions build/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21-alpine as builder
FROM golang:1.23-alpine AS builder

ENV RELEASE=$image_version

Expand Down Expand Up @@ -28,4 +28,3 @@ COPY --from=builder /bin/busybox.static /bin/busybox
COPY ./kollector-entrypoint.sh /home/ks/

ENTRYPOINT ["/bin/busybox","sh","/home/ks/kollector-entrypoint.sh"]

Loading