Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for Gitea and Gitlab #34

Merged
merged 31 commits into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
2d2dd22
feat: add support for Gitea
kimdre Jul 31, 2024
638ab79
ci: add dev build workflow
kimdre Aug 1, 2024
745578f
ci: add dev build workflow
kimdre Aug 1, 2024
d2c1335
ci: adjust build workflow
kimdre Aug 1, 2024
2e5e496
ci: adjust build workflow
kimdre Aug 1, 2024
8ff9851
fix: change order for job_id field in json response
kimdre Aug 1, 2024
0eb2575
test: debug print
kimdre Aug 1, 2024
75178aa
test: debug print
kimdre Aug 1, 2024
6240e34
test: debug print
kimdre Aug 1, 2024
85ea943
Revert "test: debug print"
kimdre Aug 1, 2024
48fa5d3
refactor: work on gitea and gitlab support
kimdre Aug 3, 2024
b8ab8d9
style: add newline
kimdre Aug 3, 2024
91d9576
fix: change filepath creation for repo cloning
kimdre Aug 3, 2024
26ddfdc
refactor: add debug log
kimdre Aug 3, 2024
a12c576
refactor: add debug log
kimdre Aug 3, 2024
1206f15
fix: Always use the access token for public repositories if set to av…
kimdre Aug 3, 2024
058a930
docs: adjust README.md
kimdre Aug 3, 2024
33e8431
fix: fix gitlab clone
kimdre Aug 3, 2024
f9bf2da
refactor: remove debug log
kimdre Aug 3, 2024
3268076
fix: gitlab clone url
kimdre Aug 3, 2024
5cbbae9
fix: remove details from json in method not allowed error
kimdre Aug 3, 2024
e478dee
fix: remove debug log
kimdre Aug 3, 2024
33aa761
fix: add debug log
kimdre Aug 3, 2024
97b4922
feat: add auth type to app settings
kimdre Aug 3, 2024
9b477e6
feat: add auth type to app settings
kimdre Aug 3, 2024
e293727
docs: update wiki
kimdre Aug 3, 2024
53f37ab
docs: update wiki
kimdre Aug 3, 2024
7303fe3
docs: update wiki
kimdre Aug 3, 2024
2d25d20
docs: update wiki
kimdre Aug 3, 2024
52ec91d
docs: update wiki
kimdre Aug 3, 2024
5e4aaef
docs: update wiki
kimdre Aug 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: Build Dev Image

on:
push:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Log in to the GitHub Container Registry
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Extract metadata for the Docker image
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=raw,value=dev

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
provenance: false
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
3 changes: 0 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Build Image

on:
push:
branches:
- main
tags:
- 'v*'
pull_request:
Expand Down Expand Up @@ -40,7 +38,6 @@ jobs:
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=ref,event=branch
type=ref,event=pr

- name: Build and push
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
# docker-compose-webhook
Deploy your Docker Compose with Webhooks

For documentation, see the [Wiki](https://github.com/kimdre/docker-compose-webhook/wiki).
## GitOps for Docker Compose

Docker Compose Webhook is a lightweight GitOps tool that automatically deploys and updates Docker Compose services when a change is pushed to a Git repository.
![GitHub Release](https://img.shields.io/github/v/release/kimdre/docker-compose-webhook?display_name=tag&label=Release)
[![CodeQL](https://github.com/kimdre/docker-compose-webhook/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/kimdre/docker-compose-webhook/actions/workflows/github-code-scanning/codeql)
[![Spell checking](https://github.com/kimdre/docker-compose-webhook/actions/workflows/spelling.yaml/badge.svg)](https://github.com/kimdre/docker-compose-webhook/actions/workflows/spelling.yaml)
[![Build Image](https://github.com/kimdre/docker-compose-webhook/actions/workflows/build.yaml/badge.svg)](https://github.com/kimdre/docker-compose-webhook/actions/workflows/build.yaml)

> [!Important]
> This project currently is still in early development.
> Feel free to share your ideas and opinions with me. :)

Docker Compose Webhook is a lightweight GitOps tool that automatically deploys and updates Docker Compose services using webhooks, that are triggered by your Git repository.
You can think of a ArgoCD alternative for Docker.

## Documentation

You can find the documentation in the [Wiki](https://github.com/kimdre/docker-compose-webhook/wiki).
Loading