Made sure all tags are checked out when building in docker

This commit is contained in:
kolaente 2019-09-01 11:43:01 +02:00
parent a324921dce
commit 021ee48ec3
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
2 changed files with 5 additions and 1 deletions

View file

@ -160,6 +160,7 @@ steps:
- export PATH=$PATH:$GOPATH/bin - export PATH=$PATH:$GOPATH/bin
- make generate - make generate
- make release-dirs - make release-dirs
depends_on: [ fetch-tags ]
- name: static-build-windows - name: static-build-windows
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
@ -302,6 +303,7 @@ steps:
from_secret: docker_password from_secret: docker_password
repo: vikunja/api repo: vikunja/api
auto_tag: true auto_tag: true
depends_on: [ fetch-tags ]
- name: telegram - name: telegram
image: appleboy/drone-telegram image: appleboy/drone-telegram
@ -351,6 +353,7 @@ steps:
commands: commands:
- make generate - make generate
- make release-dirs - make release-dirs
depends_on: [ fetch-tags ]
- name: static-build-windows - name: static-build-windows
image: techknowlogick/xgo:latest image: techknowlogick/xgo:latest
@ -493,6 +496,7 @@ steps:
from_secret: docker_password from_secret: docker_password
repo: vikunja/api repo: vikunja/api
auto_tag: true auto_tag: true
depends_on: [ fetch-tags ]
- name: telegram - name: telegram
image: appleboy/drone-telegram image: appleboy/drone-telegram

View file

@ -1,7 +1,7 @@
############## ##############
# Build stage # Build stage
FROM golang:1.11-alpine AS build-env FROM golang:1-alpine AS build-env
ARG VIKUNJA_VERSION ARG VIKUNJA_VERSION
ENV TAGS "sqlite" ENV TAGS "sqlite"