Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.circleci: use consistent ci image tags #2440

Merged
merged 1 commit into from
Apr 15, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# NOTE: Current plan gives 1500 build minutes per month.
version: 2
# https://circleci.com/blog/circleci-hacks-reuse-yaml-in-your-circleci-config-with-yaml/
defaults: &defaults
docker:
# Built by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.3.0
jobs:
test:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.3.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GO111MODULE: 'on'
Expand Down Expand Up @@ -58,9 +61,7 @@ jobs:
- .build

publish_master:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.2.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
steps:
- checkout
Expand All @@ -78,9 +79,7 @@ jobs:
- run: make docker-push

publish_release:
docker:
# Build by Thanos make docker-ci
- image: quay.io/thanos/thanos-ci:v0.2.0
<<: *defaults
working_directory: /go/src/github.com/thanos-io/thanos
environment:
GOBIN: "/go/bin"
Expand Down