33 lines
561 B
YAML
33 lines
561 B
YAML
name: cicd
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
pull:
|
|
name: pull
|
|
runs-on: dind
|
|
steps:
|
|
- name: pull
|
|
run: |
|
|
docker pull registry-app.inhome.blapointe.com:5001/docker:latest
|
|
shell: sh
|
|
cicd:
|
|
name: cicd
|
|
runs-on: dind
|
|
steps:
|
|
- name: cicd
|
|
run: |
|
|
docker ps | grep docker
|
|
docker images | grep docker
|
|
hostname
|
|
docker ps | grep $HOSTNAME
|
|
git clone ${{ github.repository }}
|
|
cd ./*/
|
|
|
|
pwd
|
|
find . -type d
|
|
sh ./build.sh
|
|
shell: sh
|