refactor-go #2

Merged
Rudi merged 5 commits from refactor-go into master 2025-11-17 20:03:32 +01:00
2 changed files with 8 additions and 30 deletions
Showing only changes of commit 8f5663981a - Show all commits

View File

@ -1,22 +0,0 @@
name: build and deploy docs
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Docker login
run: docker login 192.168.1.200:3000 -p ${{secrets.docker_password}} -u ${{secrets.docker_username}}
- name: Build the Docker image
run: docker build . --file Writerside/Dockerfile --tag 192.168.1.200:3000/klein-projects/wazuh-notifier-docs
- name: Docker push
run: docker push 192.168.1.200:3000/klein-projects/wazuh-notifier-docs

View File

@ -20,24 +20,24 @@ jobs:
with: with:
go-version: '1.25' go-version: '1.25'
- name: Build wazuh-notifer-go - name: Build wazuh-notify-go
run: | run: |
cd wazuh-notifer-go cd wazuh-notify-go
go build -o wazuh-notifier-go . go build -o wazuh-notifier-go .
- name: Upload wazuh-notifer-go artifact - name: Upload wazuh-notify-go artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wazuh-notifier-go-binary name: wazuh-notifier-go-binary
path: wazuh-notifer-go/wazuh-notifier-go path: wazuh-notify-go/wazuh-notifier-go
- name: Build wazuh-notifer-go-v2 - name: Build wazuh-notify-go-v2
run: | run: |
cd wazuh-notifer-go-v2 cd wazuh-notify-go-v2
go build -o wazuh-notifier-go-v2 . go build -o wazuh-notifier-go-v2 .
- name: Upload wazuh-notifer-go-v2 artifact - name: Upload wazuh-notify-go-v2 artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: wazuh-notifier-go-v2-binary name: wazuh-notifier-go-v2-binary
path: wazuh-notifer-go-v2/wazuh-notifier-go-v2 path: wazuh-notify-go-v2/wazuh-notifier-go-v2