Skip to content

Commit

Permalink
Fix CVE's (#734)
Browse files Browse the repository at this point in the history
## What
<!-- What is changing in this PR? -->

## Why
<!-- Why are these changes being made? -->

## Notes
<!-- Add any additional notes here -->
  • Loading branch information
danielm-codefresh authored Jan 30, 2024
1 parent 48f5752 commit 625e806
Show file tree
Hide file tree
Showing 6 changed files with 1,465 additions and 1,349 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.21.4-alpine3.18 as base
FROM golang:1.21.6-alpine3.19 as base

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

Expand Down Expand Up @@ -26,7 +26,7 @@ RUN go mod verify

############################### CLI ###############################
### Compile
FROM golang:1.21.4-alpine3.18 as codefresh-build
FROM golang:1.21.6-alpine3.19 as codefresh-build

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

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

### Run
FROM alpine:3.18 as codefresh
FROM alpine:3.19 as codefresh

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

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v0.1.59
VERSION=v0.1.60

OUT_DIR=dist
YEAR?=$(shell date +"%Y")
Expand Down
2 changes: 1 addition & 1 deletion cmd/commands/runtime_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -1778,7 +1778,7 @@ func updateProject(repofs apfs.FS, rt *runtime.Runtime) error {
Revision: kustGenerator.Revision,
Template: argocdv1alpha1.ApplicationSetTemplate{
Spec: argocdv1alpha1.ApplicationSpec{
Source: argocdv1alpha1.ApplicationSource{
Source: &argocdv1alpha1.ApplicationSource{
Chart: "{{ srcChart }}",
Helm: &argocdv1alpha1.ApplicationSourceHelm{
ReleaseName: fmt.Sprintf("%s-{{ appName }}", rt.Name),
Expand Down
4 changes: 2 additions & 2 deletions docs/releases/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cf version

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

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

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

# move the binary to your $PATH
mv ./cf-darwin-amd64 /usr/local/bin/cf
Expand Down
Loading

0 comments on commit 625e806

Please sign in to comment.