Update .github/workflows/build.yaml
This commit is contained in:
parent
abb3b55009
commit
5d61191496
21
.github/workflows/build.yaml
vendored
21
.github/workflows/build.yaml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: Build
|
name: Build
|
||||||
run-name: ${{ gitea.actor }} is building
|
run-name: ${{ gitea.actor }} is building
|
||||||
on: [push]
|
on: [push, workflow_dispatch]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Dependencies:
|
Dependencies:
|
||||||
@ -26,16 +26,9 @@ jobs:
|
|||||||
key: node_modules
|
key: node_modules
|
||||||
restore-keys: node_modules
|
restore-keys: node_modules
|
||||||
Docker:
|
Docker:
|
||||||
name: Build & publish docker image
|
uses: ztimson/291st/.github/workflows/docker-publish.yaml@develop
|
||||||
needs: Dependencies
|
with:
|
||||||
runs-on: Docker
|
image: 291st
|
||||||
container:
|
secrets:
|
||||||
image: node:16
|
registry_user: ztimson
|
||||||
steps:
|
registry_pass: ${{secrets.deploy_token}}
|
||||||
|
|
||||||
- uses: ztimson/291st/.github/workflows/docker-publish.yaml@develop
|
|
||||||
with:
|
|
||||||
image: 291st
|
|
||||||
secrets:
|
|
||||||
registry_user: ztimson
|
|
||||||
registry_pass: ${{secrets.deploy_token}}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user