Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4bf3adaf87 | ||
|
|
d7f2d8031e | ||
|
|
604cc20505 | ||
|
|
572521747f | ||
|
|
acea7fd46e | ||
|
|
634021854d | ||
|
|
1e0a51f83b | ||
|
|
cab7bc2f5a | ||
|
|
cef43b9c3e | ||
|
|
019a33a69a | ||
|
|
c2ff504510 | ||
|
|
55ef068855 | ||
|
|
babbf2ed97 |
@@ -0,0 +1,25 @@
|
||||
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
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ go 1.24.0
|
||||
|
||||
toolchain go1.24.1
|
||||
|
||||
godebug default=go1.23
|
||||
|
||||
require (
|
||||
github.com/onsi/ginkgo/v2 v2.23.4
|
||||
|
||||
Reference in New Issue
Block a user