add: basic github action wf

This commit is contained in:
2024-04-13 18:00:08 +02:00
parent b7ff748b07
commit 2ee662824d

21
.github/workflows/main.yaml vendored Normal file
View 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 $?