Update builds
This commit is contained in:
parent
2f203fb4ee
commit
d9056dcec9
1 changed files with 8 additions and 6 deletions
|
@ -2,9 +2,9 @@ name: ci
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: [main]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 7 * * *"
|
- cron: "0 6 * * *"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
workstation:
|
workstation:
|
||||||
|
@ -20,6 +20,7 @@ jobs:
|
||||||
registry: cremin.dev
|
registry: cremin.dev
|
||||||
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
||||||
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||||
|
logout: false
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: https://cremin.dev/actions/checkout@v4
|
uses: https://cremin.dev/actions/checkout@v4
|
||||||
- name: Check if workstation was changed
|
- name: Check if workstation was changed
|
||||||
|
@ -48,10 +49,10 @@ jobs:
|
||||||
if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true'
|
if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true'
|
||||||
uses: https://cremin.dev/actions/push-to-registry@v2
|
uses: https://cremin.dev/actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
registry: cremin.dev/jonathan
|
registry: cremin.dev
|
||||||
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
||||||
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||||
image: ublue-silverblue-main
|
image: jonathan/ublue-silverblue-main
|
||||||
tags: 42 latest 42-${{ env.NOW }}
|
tags: 42 latest 42-${{ env.NOW }}
|
||||||
workstation-nvidia:
|
workstation-nvidia:
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
@ -66,6 +67,7 @@ jobs:
|
||||||
registry: cremin.dev
|
registry: cremin.dev
|
||||||
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
||||||
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||||
|
logout: false
|
||||||
- name: Check out repository
|
- name: Check out repository
|
||||||
uses: https://cremin.dev/actions/checkout@v4
|
uses: https://cremin.dev/actions/checkout@v4
|
||||||
- name: Check if workstation-nvidia was changed
|
- name: Check if workstation-nvidia was changed
|
||||||
|
@ -94,8 +96,8 @@ jobs:
|
||||||
if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true'
|
if: github.event_name == 'schedule' || steps.changes.outputs.src == 'true'
|
||||||
uses: https://cremin.dev/actions/push-to-registry@v2
|
uses: https://cremin.dev/actions/push-to-registry@v2
|
||||||
with:
|
with:
|
||||||
registry: cremin.dev/jonathan
|
registry: cremin.dev
|
||||||
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
username: ${{ vars.FORGEJO_REGISTRY_USER }}
|
||||||
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
password: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}
|
||||||
image: ublue-silverblue-nvidia
|
image: jonathan/ublue-silverblue-nvidia
|
||||||
tags: 42 latest 42-${{ env.NOW }}
|
tags: 42 latest 42-${{ env.NOW }}
|
Loading…
Add table
Add a link
Reference in a new issue