From 79a368ed91573effcdd1ae8d1d21d3d06e1a5b80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20=C3=85hall?= Date: Tue, 11 Jun 2024 12:47:08 +0200 Subject: [PATCH] Initial test of building --- .gitea/workflows/build.yaml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..7872751 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,27 @@ +name: Wireguard MFA Windows Agent build +run-name: ${{ gitea.actor }} is building a release +on: + push: + tags: + - "v[0-9]+.[0-9]+.[0-9]+" + - "build-[0-9]+" + +jobs: + build_services: + runs-on: go-build + steps: + - name: Check out repository code + uses: actions/checkout@v3 + with: + ssh-known-hosts: "[git.gibonuddevalla.se]:2222 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII2Od6HUfExymVv/wPJcWiA8mgsuMwEmF7UO+YjqnjWy" + ssh-strict: "false" + ssh-key: | + -----BEGIN OPENSSH PRIVATE KEY----- + b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW + QyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRswAAAJhnEz9qZxM/ + agAAAAtzc2gtZWQyNTUxOQAAACCXcMQ9qopV3UjpJlEk8SR7Y/Yq5lpgQdbGqnJIF9MRsw + AAAEAe4z14D1zwx6rrcZuxdY2idkVm3aln8ohQjuZ5u2q4KZdwxD2qilXdSOkmUSTxJHtj + 9irmWmBB1saqckgX0xGzAAAAD21hZ251c0BoYWJhbmVybwECAwQFBg== + -----END OPENSSH PRIVATE KEY----- + - name: Compile go binaries + run: go build -v