forked from Conjure-Tools/unity-runner
moved build scripts to their own folder
This commit is contained in:
parent
5afc1f4632
commit
37566e9834
@ -2,10 +2,9 @@ name: Create Images
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
paths: ['versions.txt']
|
||||||
paths:
|
|
||||||
- 'versions.txt'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
unity_version:
|
unity_version:
|
||||||
@ -62,7 +61,7 @@ jobs:
|
|||||||
echo "Unity Version: $VERSION"
|
echo "Unity Version: $VERSION"
|
||||||
|
|
||||||
- name: Docker Build
|
- name: Docker Build
|
||||||
run: ./scripts/build-image.sh
|
run: .gitea/workflows/scripts/build-image.sh
|
||||||
id: build-image
|
id: build-image
|
||||||
env:
|
env:
|
||||||
UNITY_VERSION: ${{ env.UNITY_VERSION }}
|
UNITY_VERSION: ${{ env.UNITY_VERSION }}
|
||||||
|
|||||||
0
scripts/build-image.sh → .gitea/workflows/scripts/build-image.sh
Executable file → Normal file
0
scripts/build-image.sh → .gitea/workflows/scripts/build-image.sh
Executable file → Normal file
0
scripts/update-readme.py → .gitea/workflows/scripts/update-readme.py
Executable file → Normal file
0
scripts/update-readme.py → .gitea/workflows/scripts/update-readme.py
Executable file → Normal file
@ -5,12 +5,11 @@ on:
|
|||||||
- cron: '0 0 * * *' # Run daily at midnight
|
- cron: '0 0 * * *' # Run daily at midnight
|
||||||
workflow_dispatch: # Allow manual triggering
|
workflow_dispatch: # Allow manual triggering
|
||||||
workflow_run: # Trigger from images
|
workflow_run: # Trigger from images
|
||||||
types:
|
types: [completed]
|
||||||
- completed
|
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- scripts/update-readme.py
|
- .gitea/workflows/update-readme.yaml
|
||||||
- .gitea/workflows/update-readme.py
|
- .gitea/workflows/scripts/update-readme.py
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-readme:
|
update-readme:
|
||||||
@ -30,7 +29,7 @@ jobs:
|
|||||||
pip install requests
|
pip install requests
|
||||||
|
|
||||||
- name: Generate Docker Images Table
|
- name: Generate Docker Images Table
|
||||||
run: python scripts/update-readme.py
|
run: python .gitea/workflows/scripts/update-readme.py
|
||||||
env:
|
env:
|
||||||
DOCKER_REGISTRY: docker.lakes.house
|
DOCKER_REGISTRY: docker.lakes.house
|
||||||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user