From 7fc0f2aadaad81cf3b1cad4ff057dd9f93fdaddf Mon Sep 17 00:00:00 2001 From: Ron Rise Date: Wed, 16 Apr 2025 14:07:49 -0400 Subject: [PATCH] Squashed commit of the following: commit 2f2f35b09dbcc430111d4c626d79b92fefb38732 Author: Ron Rise Date: Wed Apr 16 13:58:35 2025 -0400 Livin' off borrowed time, the clock ticks faster --- .gitea/workflows/build.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/build.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..46c9e5a --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,26 @@ +on: + push: + branches: + - master + +jobs: + BuildBackend: + name: Build Backend + runs-on: ubuntu-latest + steps: + - name: Add Siteworx CA + run: | + apt update && apt install -yq ca-certificates curl + curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt + update-ca-certificates + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 1 + - name: Build Container + uses: docker/build-push-action@v2 + with: + context: ./backend + file: ./backend/Dockerfile + push: false + tags: siteworxpro/backend:latest