Skip to content

Commit

Permalink
change to go .23
Browse files Browse the repository at this point in the history
  • Loading branch information
rmahique-github committed Nov 11, 2024
1 parent 4768a31 commit af2e299
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ 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
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
Expand Down

0 comments on commit af2e299

Please sign in to comment.