From bb1244cf1ae7737e6cef401b7df5ebe7ae3a342f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=ABl=20Schaal?= Date: Thu, 21 Sep 2023 11:00:22 -0400 Subject: [PATCH] First try with actions --- .github/workflows/docker.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/docker.yml diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml new file mode 100644 index 00000000..5def155d --- /dev/null +++ b/.github/workflows/docker.yml @@ -0,0 +1,16 @@ +name: Build Docker image and push it to ECR +run-name: ${{ github.actor }} is pushing a new version of Omaha from ${{github.ref}} +on: [push] +jobs: + Deploy: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Read Settings + id: settings + uses: juliangruber/read-file-action@v1 + with: + path: omaha_server/omaha_server/settings.py + - name: Echo settings + run: echo "${{ steps.settings.outputs.content }}"