Added caching and used alpine
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
7d5ade1306
commit
955ebad888
|
@ -9,6 +9,8 @@ steps:
|
|||
- name: build-main
|
||||
image: plugins/docker
|
||||
settings:
|
||||
cache_from:
|
||||
- "dutchellie/pepebot:latest"
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
@ -20,6 +22,8 @@ steps:
|
|||
- name: build-service
|
||||
image: plugins/docker
|
||||
settings:
|
||||
cache_from:
|
||||
- "dutchellie/pepebot_service:latest"
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
@ -42,6 +46,8 @@ steps:
|
|||
- name: build-main
|
||||
image: plugins/docker
|
||||
settings:
|
||||
cache_from:
|
||||
- "dutchellie/pepebot:latest"
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
@ -53,6 +59,8 @@ steps:
|
|||
- name: build-service
|
||||
image: plugins/docker
|
||||
settings:
|
||||
cache_from:
|
||||
- "dutchellie/pepebot_service:latest"
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM golang:1.16.4 AS builder
|
||||
FROM golang:1.16.4-alpine AS builder
|
||||
WORKDIR /go/src/quenten.nl/pepebot/
|
||||
|
||||
COPY . ./
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
FROM golang:1.17 AS builder
|
||||
FROM golang:1.17-alpine AS builder
|
||||
WORKDIR /go/src/quenten.nl/pepeservice
|
||||
|
||||
COPY . ./
|
||||
|
|
Loading…
Reference in New Issue