Files
unifi-network-operator/.gitea/workflows/docker-build.yaml
Vegard Engen d7f2d8031e
All checks were successful
Build & Push Linode Webhook / build (push) Successful in 1m31s
fix
2025-06-24 01:47:34 +02:00

26 lines
721 B
YAML

name: Build & Push Linode Webhook
on:
push:
jobs:
build:
runs-on: ubuntu-latest
container: golang:1.24
steps:
- name: Setup SSH
run: |
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
ssh-keyscan gitea-ssh.engen.priv.no >> ~/.ssh/known_hosts
- name: Install node and go
run: apt update && apt -y install nodejs
- name: Check out repository code
uses: actions/checkout@v4
- name: ssh repo
run: git config --global url.git@gitea-ssh.engen.priv.no:.insteadOf https://gitea.engen.priv.no/
- name: Build
run: go build cmd/main.go