From 2ee662824dc0a537c67b5f9e43bcd416070c6936 Mon Sep 17 00:00:00 2001 From: Yannik Schmidt Date: Sat, 13 Apr 2024 18:00:08 +0200 Subject: [PATCH] add: basic github action wf --- .github/workflows/main.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/main.yaml diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml new file mode 100644 index 0000000..54515cf --- /dev/null +++ b/.github/workflows/main.yaml @@ -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 $?