refactor-go #2
22
.github/workflows/deploy-docs.yml
vendored
22
.github/workflows/deploy-docs.yml
vendored
@ -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
|
|
||||||
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user