mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
name: ci
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
- "ldap-ng-dev"
|
|
|
|
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 event-dispatcher
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: ./server/
|
|
platforms: linux/amd64
|
|
push: true
|
|
tags: "${{ secrets.REGISTRY }}/athq/event-dispatcher:latest"
|
|
-
|
|
name: Build and push event-dispatcher
|
|
uses: docker/build-push-action@v3
|
|
with:
|
|
context: ./client/
|
|
platforms: linux/amd64
|
|
push: true
|
|
tags: "${{ secrets.REGISTRY }}/athq/event-dispatcher-worker:latest"
|