From af2e29951a597bcb48ddb13febe8d73b1c32d320 Mon Sep 17 00:00:00 2001 From: rmahique-github <> Date: Mon, 11 Nov 2024 20:35:38 +0100 Subject: [PATCH] change to go .23 --- .github/workflows/main.yml | 4 ++-- Dockerfile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3f84513..9002b50 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -15,7 +15,7 @@ jobs: dockerfile: Dockerfile - uses: actions/setup-go@v1 with: - go-version: '1.16' + go-version: '1.23' - name: go-test run: make test @@ -79,7 +79,7 @@ jobs: ssh-add - <<< "${{ secrets.CHART_REPO_PRIVATE_KEY }}" - uses: actions/setup-go@v1 with: - go-version: '1.16' + go-version: '1.23' - name: Set up Helm uses: azure/setup-helm@v1 with: diff --git a/Dockerfile b/Dockerfile index 0e27543..f31d975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN cp -f ui/semantic.theme.config ui/semantic/src/theme.config && \ WORKDIR /usr/src/app/ui/semantic RUN npx gulp build -FROM registry.suse.com/bci/golang:1.16 AS app +FROM registry.suse.com/bci/golang:1.23 AS app RUN zypper install -y git-core=2.35.3-150300.10.33.1 ; zypper clean COPY . /go/src/app WORKDIR /go/src/app @@ -19,7 +19,7 @@ ENV GO111MODULE=on #RUN go build -a -v -tags 'netgo' -ldflags '-w -linkmode external -extldflags -static' -o rancher-demo . RUN go build -a -v -o rancher-demo . -FROM registry.suse.com/bci/golang:1.16 +FROM registry.suse.com/bci/golang:1.23 COPY static /static COPY --from=ui /usr/src/app/ui/semantic/dist/semantic.min.css /static/dist/semantic.min.css COPY --from=ui /usr/src/app/ui/semantic/dist/semantic.min.js /static/dist/semantic.min.js