Compare commits

...

7 Commits

Author SHA1 Message Date
63531ac4d4 [Add branche ] 2025-12-07 20:26:30 +01:00
4a1b42300a [change name job for sliver] 2025-12-06 18:09:11 +01:00
e27e2d2cb0 [Add sliver] 2025-12-06 15:47:51 +01:00
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
4 changed files with 253 additions and 0 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:
- '*-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,66 @@
name: ci/cd internal docker image
#! see https://github.com/will-moss/isaiah/tree/master
on:
push:
tags:
- '*-sliver'
# schedule:
# - cron: '0 8 2 * *'
#! default sliver
env:
GIT_REPO: sliver
DOCKER_IMAGE_NAME: sliver
GIT_REPO_RELEASE: v1.5.44
jobs:
build-push-sliver:
#! 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 }}
git checkout ${{ env.GIT_REPO_RELEASE }}
git describe --tags
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,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

@@ -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 }}