Update base image and Go
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -5,7 +5,7 @@ name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
image: golang:1.20.5
|
||||
image: golang:1.23.4
|
||||
volumes:
|
||||
- name: deps
|
||||
path: /go
|
||||
@@ -31,6 +31,6 @@ steps:
|
||||
from_secret: harbor_password
|
||||
---
|
||||
kind: signature
|
||||
hmac: 004f812ff29a1e2546eeafbf449c36c901f69b5f2591f83152eebde7258453fd
|
||||
hmac: d92e5a575088ed17ad15dbf7bf34f79f1d6b61c09d8b05fc7aab58f94c011e01
|
||||
|
||||
...
|
||||
|
@@ -1,11 +1,11 @@
|
||||
FROM golang:1.20.5-alpine AS build
|
||||
FROM golang:1.23.4-alpine AS build
|
||||
RUN apk --no-cache add git
|
||||
|
||||
WORKDIR /go/src/github.com/abh/geoipapi
|
||||
ADD . /go/src/github.com/abh/geoipapi
|
||||
RUN go install -v ./...
|
||||
|
||||
FROM alpine:3.18
|
||||
FROM alpine:3.21
|
||||
USER root
|
||||
RUN apk --no-cache add ca-certificates
|
||||
RUN apk --no-cache upgrade
|
||||
|
Reference in New Issue
Block a user