Ingestion client log path change #52
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy onto staging | |
on: | |
push: | |
branches: | |
- "khaos-staging" | |
paths: | |
- "backend/**" | |
- "frontend/**" | |
- "ingestion/**" | |
- "config/**" | |
- ".github/workflows/deploy_staging.yml" | |
- "deploy-staging.yml" | |
jobs: | |
deploy_staging: | |
name: (${{ github.event_name }}) - Deploy onto staging | |
runs-on: [self-hosted, khaos] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Build Ingestion client | |
run: docker build -f ingestion/Dockerfile-zeek -t 192.0.2.1:5000/canids-v2-staging-zeek:latest . && docker push 192.0.2.1:5000/canids-v2-staging-zeek:latest | |
- name: Build and push images | |
run: docker compose -f deploy-staging.yml build --push | |
- name: Deploy | |
run: docker stack deploy -c deploy-staging.yml canids-staging |