Skip to content

codacy/ci-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ci-base

Codacy Badge

Base docker image used by Codacy in Continuous Integration environments such as CircleCI.

Usage

CircleCI

Use this image directly on CircleCI for simple steps

version: 2
jobs:
  build:
    working_directory: /app
    docker:
      - image: codacy:ci-base:1.0.0
    steps:
      - checkout

Base for other Dockerfiles

Use this image as the base for other Docker images. Checkout the codacy/ci-aws as example.

Build and Publish

The pipeline in circleci can deploy this for you when the code is pushed to the remote.

You can also run everything locally using the makefile

$ make help
---------------------------------------------------------------------------------------------------------
build and deploy help
---------------------------------------------------------------------------------------------------------
build                          build docker image
get-next-version-number        get next version number
git-tag                        tag the current commit with the next version and push
push-docker-image              push the docker image to the registry (DOCKER_USER and DOCKER_PASS mandatory)
push-latest-docker-image       push the docker image with the "latest" tag to the registry (DOCKER_USER and DOCKER_PASS mandatory)

About

Base docker image used by Codacy in Continuous Integration environments such as CircleCI.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors