An open API service indexing awesome lists of open source software.

https://github.com/deeagle/goci-container

Container to build and test go applications within CI
https://github.com/deeagle/goci-container

cicd docker

Last synced: about 2 months ago
JSON representation

Container to build and test go applications within CI

Awesome Lists containing this project

README

          

# goci-container

![Build status](https://github.com/deeagle/goci-container/workflows/CI/badge.svg)
![Release status](https://github.com/deeagle/goci-container/workflows/Release%20version/badge.svg)
[![Alpine](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)](https://img.shields.io/badge/Alpine_Linux-0D597F?style=flat-square&logo=alpine-linux&logoColor=white)
[![Docker](https://badgen.net/badge/icon/docker?icon=docker&label)](https://hub.docker.com/r/docdee/goci)

Container to build and test go applications within CI
Installed tools are:

- `gcc`
- `git`
- `musl-dev`

## Usage

You can build your application in CI step via:

```yml
# e.g. drone.io as CI
- name: build
image: docdee/goci
commands:
- go clean -cache
- CGO_ENABLED=1 go build
- go mod download
- go build -o
```

## Weblinks

- [CHANGELOG](CHANGELOG.md)