Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lutfailham96/gitops-dibs
GitOps for Docker image build system
https://github.com/lutfailham96/gitops-dibs
actions docker docker-image dockerfile workflow
Last synced: 9 days ago
JSON representation
GitOps for Docker image build system
- Host: GitHub
- URL: https://github.com/lutfailham96/gitops-dibs
- Owner: lutfailham96
- License: mit
- Created: 2022-08-24T14:28:59.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-15T01:56:08.000Z (almost 2 years ago)
- Last Synced: 2024-07-30T16:45:52.763Z (4 months ago)
- Topics: actions, docker, docker-image, dockerfile, workflow
- Language: Shell
- Homepage: https://hub.docker.com/u/ewzengineering
- Size: 254 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- 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
```