Skip to content

Commit 625e806

Browse files
Fix CVE's (#734)
## What <!-- What is changing in this PR? --> ## Why <!-- Why are these changes being made? --> ## Notes <!-- Add any additional notes here -->
1 parent 48f5752 commit 625e806

File tree

6 files changed

+1465
-1349
lines changed

6 files changed

+1465
-1349
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.21.4-alpine3.18 as base
1+
FROM golang:1.21.6-alpine3.19 as base
22

33
WORKDIR /go/src/github.com/codefresh-io/cli-v2
44

@@ -26,7 +26,7 @@ RUN go mod verify
2626

2727
############################### CLI ###############################
2828
### Compile
29-
FROM golang:1.21.4-alpine3.18 as codefresh-build
29+
FROM golang:1.21.6-alpine3.19 as codefresh-build
3030

3131
WORKDIR /go/src/github.com/codefresh-io/cli-v2
3232

@@ -44,7 +44,7 @@ ARG SEGMENT_WRITE_KEY
4444
RUN make local DEV_MODE=false SEGMENT_WRITE_KEY=${SEGMENT_WRITE_KEY}
4545

4646
### Run
47-
FROM alpine:3.18 as codefresh
47+
FROM alpine:3.19 as codefresh
4848

4949
WORKDIR /go/src/github.com/codefresh-io/cli-v2
5050

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.59
1+
VERSION=v0.1.60
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/runtime_install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ func updateProject(repofs apfs.FS, rt *runtime.Runtime) error {
17781778
Revision: kustGenerator.Revision,
17791779
Template: argocdv1alpha1.ApplicationSetTemplate{
17801780
Spec: argocdv1alpha1.ApplicationSpec{
1781-
Source: argocdv1alpha1.ApplicationSource{
1781+
Source: &argocdv1alpha1.ApplicationSource{
17821782
Chart: "{{ srcChart }}",
17831783
Helm: &argocdv1alpha1.ApplicationSourceHelm{
17841784
ReleaseName: fmt.Sprintf("%s-{{ appName }}", rt.Name),

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cf version
2323

2424
```bash
2525
# download and extract the binary
26-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.59/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.60/cf-linux-amd64.tar.gz | tar zx
2727

2828
# move the binary to your $PATH
2929
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636

3737
```bash
3838
# download and extract the binary
39-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.59/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.60/cf-darwin-amd64.tar.gz | tar zx
4040

4141
# move the binary to your $PATH
4242
mv ./cf-darwin-amd64 /usr/local/bin/cf

0 commit comments

Comments
 (0)