mirror of
https://github.com/FAUSheppy/logstash-verify
synced 2025-12-06 05:51:37 +01:00
add: basic github action wf
This commit is contained in:
21
.github/workflows/main.yaml
vendored
Normal file
21
.github/workflows/main.yaml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Container Build for atlantis-hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
|
||||
jobs:
|
||||
docker:
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: prod
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Build and run test container
|
||||
run: |
|
||||
docker build -t test .
|
||||
docker run test
|
||||
- name: Check exit code
|
||||
run: exit $?
|
||||
Reference in New Issue
Block a user