WIP: v3.4.0 #25
@ -2,8 +2,8 @@ name: NodBot PE Dockerization
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- pe
|
- 'v*-pe'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
|
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Pull latest from Git
|
- name: Pull latest from Git
|
||||||
run: |
|
run: |
|
||||||
echo "Branch: ${{ gitea.head_ref }}"
|
echo "Branch: ${{ gitea.ref_name }}"
|
||||||
pwd
|
pwd
|
||||||
whoami
|
whoami
|
||||||
mkdir -p /var/lib/act_runner/
|
mkdir -p /var/lib/act_runner/
|
||||||
@ -27,7 +27,7 @@ jobs:
|
|||||||
cd nodbot
|
cd nodbot
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
git checkout ${{ gitea.head_ref }}
|
git checkout ${{ gitea.ref_name }}
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
cd /var/lib/act_runner/nodbot
|
cd /var/lib/act_runner/nodbot
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
name: NodBot Production Dockerization
|
name: NodBot Production Dockerization
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
push:
|
||||||
branches:
|
tags:
|
||||||
- main
|
- 'v*'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
|
DHUB_UNAME: ${{ secrets.DHUB_UNAME }}
|
||||||
@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Pull latest from Git
|
- name: Pull latest from Git
|
||||||
run: |
|
run: |
|
||||||
echo "Branch: ${{ gitea.head_ref }}"
|
echo "Branch: ${{ gitea.ref_name }}"
|
||||||
pwd
|
pwd
|
||||||
whoami
|
whoami
|
||||||
mkdir -p /var/lib/act_runner/
|
mkdir -p /var/lib/act_runner/
|
||||||
@ -27,7 +27,7 @@ jobs:
|
|||||||
cd nodbot
|
cd nodbot
|
||||||
git pull
|
git pull
|
||||||
fi
|
fi
|
||||||
git checkout ${{ gitea.head_ref }}
|
git checkout ${{ gitea.ref_name }}
|
||||||
git pull
|
git pull
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user