Browse Source

Alpine 3.10 (#7256)

tags/v1.9.0-rc1
techknowlogick 4 years ago
parent
commit
8db4541ecf
No account linked to committer's email address
2 changed files with 7 additions and 7 deletions
  1. 5
    5
      .drone.yml
  2. 2
    2
      Dockerfile

+ 5
- 5
.drone.yml View File

@@ -24,7 +24,7 @@ pipeline:
branch: [ master ]

update-translations:
image: alpine:3.7
image: alpine:3.10
commands:
- mv ./options/locale/locale_en-US.ini ./options/
- sed -i -e 's/="/=/g' -e 's/"$$//g' ./options/locale/*.ini
@@ -163,7 +163,7 @@ pipeline:
event: [ tag ]

test-mysql8:
image: golang:1.11
image: golang:1.12
pull: true
group: test
environment:
@@ -294,7 +294,7 @@ pipeline:
branch: [ master ]

docker-dryrun:
image: plugins/docker:17.12
image: plugins/docker:18.09
pull: true
repo: gitea/gitea
cache_from: gitea/gitea
@@ -303,7 +303,7 @@ pipeline:
event: [ pull_request ]

release-docker:
image: plugins/docker:17.12
image: plugins/docker:18.09
pull: true
secrets: [ docker_username, docker_password ]
repo: gitea/gitea
@@ -314,7 +314,7 @@ pipeline:
branch: [ release/* ]

docker:
image: plugins/docker:17.12
image: plugins/docker:18.09
secrets: [ docker_username, docker_password ]
pull: true
repo: gitea/gitea

+ 2
- 2
Dockerfile View File

@@ -1,7 +1,7 @@

###################################
#Build stage
FROM golang:1.12-alpine3.9 AS build-env
FROM golang:1.12-alpine3.10 AS build-env

ARG GITEA_VERSION
ARG TAGS="sqlite sqlite_unlock_notify"
@@ -18,7 +18,7 @@ WORKDIR ${GOPATH}/src/code.gitea.io/gitea
RUN if [ -n "${GITEA_VERSION}" ]; then git checkout "${GITEA_VERSION}"; fi \
&& make clean generate build

FROM alpine:3.9
FROM alpine:3.10
LABEL maintainer="maintainers@gitea.io"

EXPOSE 22 3000

Loading…
Cancel
Save