feat: docker build & config dir

This commit is contained in:
2023-01-05 19:35:09 +01:00
parent 090d753177
commit 7e118c37f5
4 changed files with 86 additions and 5 deletions

37
.github/workflows/main.yaml vendored Normal file
View File

@@ -0,0 +1,37 @@
name: ci
on:
push:
branches:
- "master"
jobs:
docker:
runs-on: ubuntu-latest
environment:
name: prod
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
-
name: Login to Docker Registry
uses: docker/login-action@v2
with:
registry: ${{ secrets.REGISTRY }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASS }}
-
name: Build and push async-icinga image
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64
push: true
tags: "${{ secrets.REGISTRY }}/athq/async-icinga:latest"