Renamed circleci config

This commit is contained in:
Jakub Vavřík
2021-01-28 17:52:20 +01:00
parent 1481d27782
commit ad66ce3152

39
.circleci/config.yml Normal file
View File

@@ -0,0 +1,39 @@
version: 2
jobs:
build:
docker: # run the steps with Docker
- image: circleci/golang:1.15
auth:
username: javamachr
password: $DOCKERHUB_PASSWORD
steps:
- checkout # check out source code to working directory
- restore_cache:
keys:
- go-mod-v4-{{ checksum "go.sum" }}
- run:
name: Install requirements
command: make install-requirements
- run:
name: Generate sources
command: make generate
- run:
name: Docker login
command: make docker-login
- run:
name: Build docker images
command: make docker-images
- run:
name: Build docker images
command: make docker-images
- run:
name: Push docker images
command: make docker-push