Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/telkomdev/gitops-dibs
GitOps based Docker image build system
https://github.com/telkomdev/gitops-dibs
actions docker docker-image dockerfile workflow
Last synced: about 3 hours ago
JSON representation
GitOps based Docker image build system
- Host: GitHub
- URL: https://github.com/telkomdev/gitops-dibs
- Owner: telkomdev
- License: mit
- Created: 2022-08-25T04:46:36.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T01:57:42.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T16:57:06.628Z (over 1 year ago)
- Topics: actions, docker, docker-image, dockerfile, workflow
- Language: Shell
- Homepage: https://hub.docker.com/u/ewzengineering
- Size: 306 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitOps Docker image build system (DIBS)
[![GitHub license](https://img.shields.io/github/license/telkomdev/gitops-dibs.svg)](https://github.com/telkomdev/gitops-dibs/blob/master/LICENSE)
[![made-with-bash](https://img.shields.io/badge/Made%20with-Bash-1f425f.svg)](https://www.gnu.org/software/bash/)The purpose of this build system is to simplify the process of building a docker image and make it easier for everyone to contribute
## Project structure
```
.github/
workflows/
.yaml # This will be your workflow file
/
Dockerfile-_ # This Docker build file will be used by workflow, the configuration is based on workflow input
```## How to build
- Create action secret `DOCKER_USERNAME`, `DOCKER_PASSWORD` and fill out the value according to your Docker Hub account
- Open GitHub Actions
- Choose some `Publish` workflow
- Fill out the publish configuration that usually contains `image name`, `image version`, `image variant`, for example:
```env
Image name : my-engine
Image version : latest
Image variant : alpine
```
- Run workflow
- Built image will be automatically available in your Docker Hub repository
```env
Built image on Docker Hub : /my-engine:latest-alpine
```