Update golang Docker tag to v1.20 #6
@@ -1,6 +1,6 @@
 | 
				
			|||||||
pipeline:
 | 
					pipeline:
 | 
				
			||||||
  test:
 | 
					  test:
 | 
				
			||||||
    image: golang:1.18
 | 
					    image: golang:1.20
 | 
				
			||||||
    commands:
 | 
					    commands:
 | 
				
			||||||
      - go test ./...
 | 
					      - go test ./...
 | 
				
			||||||
  build:
 | 
					  build:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM golang:1.18
 | 
					FROM golang:1.20
 | 
				
			||||||
WORKDIR /src
 | 
					WORKDIR /src
 | 
				
			||||||
COPY . ./
 | 
					COPY . ./
 | 
				
			||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve
 | 
					RUN CGO_ENABLED=0 GOOS=linux go build -o server ./cmd/serve
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user