diff --git a/.drone.yml b/.drone.yml
index ac8c92918..1b68e212e 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -160,7 +160,7 @@ steps:
 
   - name: tag-pre-condition
     pull: always
-    image: alpine/git
+    image: drone/git
     commands:
       - git update-ref refs/heads/tag_test ${DRONE_COMMIT_SHA}
 
@@ -366,7 +366,7 @@ steps:
 
   - name: update
     pull: default
-    image: alpine:3.11
+    image: alpine:3.12
     commands:
       - ./build/update-locales.sh
 
diff --git a/Dockerfile b/Dockerfile
index 809385360..d029efed4 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
 
 ###################################
 #Build stage
-FROM golang:1.14-alpine3.11 AS build-env
+FROM golang:1.14-alpine3.12 AS build-env
 
 ARG GOPROXY
 ENV GOPROXY ${GOPROXY:-direct}
@@ -21,7 +21,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
 RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
  && make clean-all build
 
-FROM alpine:3.11
+FROM alpine:3.12
 LABEL maintainer="maintainers@gitea.io"
 
 EXPOSE 22 3000