[Add schedule + jsoncrack too heavy build]
This commit is contained in:
@@ -1,10 +1,13 @@
|
|||||||
name: ci/cd internal docker image
|
name: ci/cd internal docker image
|
||||||
|
|
||||||
|
|
||||||
|
#! too heavy to build on server (10h of build and doesn't work ....)
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*-jsoncrack'
|
- '*-jsoncrack'
|
||||||
|
# schedule:
|
||||||
|
# - cron: '0 12 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_REPO: jsoncrack.com
|
GIT_REPO: jsoncrack.com
|
||||||
@@ -49,6 +52,20 @@ jobs:
|
|||||||
docker push ${{ 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 }}:latest
|
||||||
|
|
||||||
|
|
||||||
|
#! add step to docker compose up the container => https://gitea.com/actions/appleboy-ssh-action
|
||||||
|
|
||||||
|
|
||||||
|
# - name: Execute remote SSH commands using SSH key
|
||||||
|
# uses: appleboy/ssh-action@v1
|
||||||
|
# with:
|
||||||
|
# host: ${{ secrets.HOST }}
|
||||||
|
# username: ${{ secrets.USERNAME }}
|
||||||
|
# key: ${{ secrets.KEY }}
|
||||||
|
# port: ${{ secrets.PORT }}
|
||||||
|
# script: |
|
||||||
|
# whoami
|
||||||
|
# ls -al
|
||||||
|
|
||||||
#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 }}:$VERSION
|
||||||
|
|
||||||
# docker pull gitea.jingoh.fr/staffadmin/test:0.0.1
|
# docker pull gitea.jingoh.fr/staffadmin/test:0.0.1
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*-poker'
|
- '*-poker'
|
||||||
|
# schedule:
|
||||||
|
# - cron: '0 12 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_REPO: poker-master-tool
|
GIT_REPO: poker-master-tool
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*-spiderfoot'
|
- '*-spiderfoot'
|
||||||
|
# schedule:
|
||||||
|
# - cron: '0 12 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_REPO: spiderfoot
|
GIT_REPO: spiderfoot
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*-vwmetrics'
|
- '*-vwmetrics'
|
||||||
|
# schedule:
|
||||||
|
# - cron: '0 12 * * *'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_REPO: vwmetrics
|
GIT_REPO: vwmetrics
|
||||||
|
|||||||
@@ -3,7 +3,6 @@ name: ci/cd public docker
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
# Be carefull, conflict with package-deb *.*.*, don't use more than on dot *.* (ex: 2.5-runner)
|
|
||||||
- '*-public'
|
- '*-public'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user