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