Compare commits

...

17 Commits

Author SHA1 Message Date
9656071519 [Add xss exploit] 2025-11-16 18:21:57 +01:00
6f019f478d [Add xss exploit] 2025-11-16 18:13:56 +01:00
6a0fb42c6f [add frogy image] 2025-11-16 16:22:44 +01:00
abcb1d5a27 [Add transmission exporter] 2025-09-10 12:52:16 +02:00
370b85dcd3 [Add CI for osint toolkit] 2025-09-06 15:49:37 +02:00
008d073647 [Add CI for osint toolkit] 2025-09-06 15:48:58 +02:00
2fcd604e04 [Add dockerlazy build] 2025-08-31 19:21:52 +02:00
0d64737451 [Add dockerlazy build] 2025-08-31 19:16:11 +02:00
d29ca160ed [Remove schedule] 2025-08-30 15:58:43 +02:00
bee97795da [Change cron] 2025-08-23 15:09:43 +02:00
88e59e02fb [Add full ci poker and vwmetrics] 2025-08-23 01:54:45 +02:00
daf564b3db [second step to pull and up ] 2025-08-23 00:23:33 +02:00
c06427edde [Add right labels runner] 2025-08-23 00:23:00 +02:00
60f048f69f [Add right labels runner] 2025-08-23 00:09:46 +02:00
2ce470d94e [Add right labels runner] 2025-08-23 00:09:27 +02:00
18e2890cd7 [test ci] 2025-08-22 23:47:51 +02:00
d55906abf9 [test ci] 2025-08-22 23:42:28 +02:00
7 changed files with 358 additions and 65 deletions

View File

@@ -0,0 +1,62 @@
name: ci/cd internal docker image
#! see https://github.com/will-moss/isaiah/tree/master
on:
push:
tags:
- '*-lazydocker'
# schedule:
# - cron: '0 8 2 * *'
env:
GIT_REPO: lazydocker
DOCKER_IMAGE_NAME: lazydocker
jobs:
build-push-lazydocker:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: docker
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & build
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}
docker buildx b . -t ${{ env.DOCKER_IMAGE_NAME }}
- name: login & push
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
# pull-up-lazydocker:
# #! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: ubuntu-latest
# container:
# image: ubuntu
# steps:
# - name: Install required packages
# run: |
# apt-get -y update
# apt-get install -y curl
# - name: Pull and up container
# uses: appleboy/ssh-action@v1
# with:
# host: 163.172.84.28
# username: stephane
# key: ${{ secrets.SSH_KEY }}
# passphrase: ${{ secrets.SSH_PASS }}
# port: 22
# script: |
# docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_IMAGE_NAME }}
# docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_IMAGE_NAME }}

View File

@@ -0,0 +1,62 @@
name: ci/cd internal docker image
#! see https://github.com/will-moss/isaiah/tree/master
on:
push:
tags:
- '*-frogy'
# schedule:
# - cron: '0 8 2 * *'
env:
GIT_REPO: frogy2.0
DOCKER_IMAGE_NAME: frogy2.0
jobs:
build-push-frogy:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: docker
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & build
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}
docker buildx b . -t ${{ env.DOCKER_IMAGE_NAME }}
- name: login & push
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
# pull-up-frogy:
# #! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: ubuntu-latest
# container:
# image: ubuntu
# steps:
# - name: Install required packages
# run: |
# apt-get -y update
# apt-get install -y curl
# - name: Pull and up container
# uses: appleboy/ssh-action@v1
# with:
# host: 163.172.84.28
# username: stephane
# key: ${{ secrets.SSH_KEY }}
# passphrase: ${{ secrets.SSH_PASS }}
# port: 22
# script: |
# docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_IMAGE_NAME }}
# docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_IMAGE_NAME }}

View File

@@ -0,0 +1,76 @@
name: ci/cd internal docker image
#! see https://github.com/will-moss/isaiah/tree/master
on:
push:
tags:
- '*-osint'
# schedule:
# - cron: '0 8 2 * *'
env:
GIT_REPO: osint_toolkit
DOCKER_FRONT_IMAGE_NAME: osinttoolkitfront
DOCKER_BACK_IMAGE_NAME: osinttoolkitback
jobs:
build-push-osint-toolkit:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: docker
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & build [front]
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}/frontend
docker buildx b . -t ${{ env.DOCKER_FRONT_IMAGE_NAME }}
- name: login & push [front]
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_FRONT_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_FRONT_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_FRONT_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_FRONT_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_FRONT_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_FRONT_IMAGE_NAME }}:latest
- name: clone & build [back]
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}/backend
docker buildx b . -t ${{ env.DOCKER_BACK_IMAGE_NAME }}
- name: login & push [back]
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_BACK_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_BACK_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_BACK_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_BACK_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_BACK_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_BACK_IMAGE_NAME }}:latest
# pull-up-osint_toolkit:
# #! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: ubuntu-latest
# container:
# image: ubuntu
# steps:
# - name: Install required packages
# run: |
# apt-get -y update
# apt-get install -y curl
# - name: Pull and up container
# uses: appleboy/ssh-action@v1
# with:
# host: 163.172.84.28
# username: stephane
# key: ${{ secrets.SSH_KEY }}
# passphrase: ${{ secrets.SSH_PASS }}
# port: 22
# script: |
# docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_FRONT_IMAGE_NAME }}
# docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_FRONT_IMAGE_NAME }}

View File

@@ -4,30 +4,19 @@ on:
push:
tags:
- '*-poker'
# schedule:
# - cron: '0 12 * * *'
# schedule:
# - cron: '0 9 2 * *'
env:
GIT_REPO: poker-master-tool
DOCKER_IMAGE_NAME: poker
jobs:
build-and-push-poker:
build-push-poker:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: test
# container: debian:bullseye
# runs-on: ubuntu-latest
# container: node:16-bullseye
runs-on: ubuntu-latest
container:
image: docker
# container:
# image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest
# credentials:
# username: ${{ vars.GIT_USER_REPO }}
# password: ${{ secrets.PACKAGE_RW }}
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
@@ -49,7 +38,19 @@ jobs:
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
- name: Pull and restart container
pull-up-poker:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: ubuntu
steps:
- name: Install required packages
run: |
apt-get -y update
apt-get install -y curl
- name: Pull and up container
uses: appleboy/ssh-action@v1
with:
host: 163.172.84.28

View File

@@ -0,0 +1,62 @@
name: ci/cd internal docker image
on:
push:
tags:
- '*-transmission'
# schedule:
# - cron: '0 8 2 * *'
env:
GIT_REPO: transmission-exporter
DOCKER_IMAGE_NAME: transmission-exporter
jobs:
build-push-transmission:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: docker
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & build
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}
docker buildx b . -t ${{ env.DOCKER_IMAGE_NAME }}
- name: login & push
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
pull-up-transmission:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: ubuntu
steps:
- name: Install required packages
run: |
apt-get -y update
apt-get install -y curl
- name: Pull and up container
uses: appleboy/ssh-action@v1
with:
host: 163.172.84.28
username: stephane
key: ${{ secrets.SSH_KEY }}
passphrase: ${{ secrets.SSH_PASS }}
port: 22
script: |
docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_IMAGE_NAME }}
docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_IMAGE_NAME }}

View File

@@ -4,33 +4,19 @@ on:
push:
tags:
- '*-vwmetrics'
# schedule:
# - cron: '0 12 * * *'
# schedule:
# - cron: '0 8 2 * *'
env:
GIT_REPO: vwmetrics
DOCKER_IMAGE_NAME: vwmetrics
jobs:
build-and-push-vwmetrics:
build-push-vwmetrics:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: test
# container: debian:bullseye
# runs-on: ubuntu-latest
# container: node:16-bullseye
runs-on: ubuntu-latest
container:
image: docker
# container:
# image: ${{ vars.REGISTRY_DOCKER }}/${{ vars.DOCKER_IMAGE_RUNNER }}:latest
# credentials:
# username: ${{ vars.GIT_USER_REPO }}
# password: ${{ secrets.PACKAGE_RW }}
# pwd
# echo "sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile"
# sed -i "s/^FROM .*/FROM node:18/" /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile
# cat /workspace/${{ vars.GIT_USER_REPO }}/gitea-runner/${{ env.GIT_REPO }}/Dockerfile
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
@@ -49,7 +35,20 @@ jobs:
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
- name: Pull and restart container
pull-up-vwmetrics:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: ubuntu
steps:
- name: Install required packages
run: |
apt-get -y update
apt-get install -y curl
- name: Pull and up container
uses: appleboy/ssh-action@v1
with:
host: 163.172.84.28
@@ -61,35 +60,3 @@ jobs:
docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_IMAGE_NAME }}
docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_IMAGE_NAME }}
#docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
# docker pull gitea.jingoh.fr/staffadmin/test:0.0.1
# docker tag gitea.jingoh.fr/staffadmin/test:0.0.1 gitea.jingoh.fr/staffadmin/toto:latest
# docker push gitea.jingoh.fr/staffadmin/toto:latest
# - name: Git clone private repository
# uses: actions/checkout@v4
# with:
# repository: ${{ gitea.repository }}
# token: ${{ secrets.REPO_PULL_GITEA }}
# - name: Login to docker private registry
# uses: docker/login-action@v3
# with:
# registry: ${{ vars.REGISTRY_DOCKER }}
# username: ${{ vars.GIT_USER_REPO }}
# password: ${{ secrets.PACKAGE_RW }}
# - run: git --help
# - name: Build and push image in registry
# uses: docker/build-push-action@v5
# with:
# context: .
# push: true
# tags: ${{ vars.REGISTRY_DOCKER }}/${{ env.DOCKER_IMAGE_NAME }}:latest,${{ vars.REGISTRY_DOCKER }}/${{ env.DOCKER_IMAGE_NAME }}:${{ gitea.ref_name }}
# - name: Output
# run: echo "Runner push on ${{ vars.REGISTRY_DOCKER }} image ${{ env.DOCKER_IMAGE_NAME }} tag ${{ gitea.ref_name }}"

View File

@@ -0,0 +1,63 @@
name: ci/cd internal docker image
#! see https://github.com/will-moss/isaiah/tree/master
on:
push:
tags:
- '*-xss'
# schedule:
# - cron: '0 8 2 * *'
#! default XSS-Exploitation-Tool
env:
GIT_REPO: xss-exploitation-tool
DOCKER_IMAGE_NAME: xss-exploitation-tool
jobs:
build-push-xss:
#! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
runs-on: ubuntu-latest
container:
image: docker
steps:
- name: Show Information
run: echo "Runner ${{ runner.os }} working on repository ${{ gitea.repository }} and on tag ${{ gitea.ref_name }}"
- name: clone & build
run: |
git clone https://${{ secrets.REPOSITORY_RW }}:x-oauth-basic@${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.GIT_REPO }}
cd ${{ env.GIT_REPO }}
docker buildx b . -t ${{ env.DOCKER_IMAGE_NAME }}
- name: login & push
run: |
echo "${{ secrets.PACKAGE_RW }}" | docker login -u ${{ vars.GIT_USER_REPO }} --password-stdin ${{ vars.REGISTRY_DOCKER }}
export VERSION=$(echo "${{ gitea.ref_name }}" | cut -d '-' -f 1)
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker tag ${{ env.DOCKER_IMAGE_NAME }} ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:$VERSION
docker push ${{ vars.REGISTRY_DOCKER }}/${{ vars.GIT_USER_REPO }}/${{ env.DOCKER_IMAGE_NAME }}:latest
# pull-up-frogy:
# #! see on runner /data/.runner to add label (test => test:docker://debian:bullseye)
# runs-on: ubuntu-latest
# container:
# image: ubuntu
# steps:
# - name: Install required packages
# run: |
# apt-get -y update
# apt-get install -y curl
# - name: Pull and up container
# uses: appleboy/ssh-action@v1
# with:
# host: 163.172.84.28
# username: stephane
# key: ${{ secrets.SSH_KEY }}
# passphrase: ${{ secrets.SSH_PASS }}
# port: 22
# script: |
# docker compose -f /opt/dockerapps/docker-compose.yml pull ${{ env.DOCKER_IMAGE_NAME }}
# docker compose -f /opt/dockerapps/docker-compose.yml up -d ${{ env.DOCKER_IMAGE_NAME }}