Update .github/workflows/build.yaml
This commit is contained in:
parent
b7c824bf6e
commit
f5a922469f
11
.github/workflows/build.yaml
vendored
11
.github/workflows/build.yaml
vendored
@ -3,7 +3,8 @@ run-name: ${{ gitea.actor }} is building
|
|||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Dependencies_NPM:
|
Dependencies:
|
||||||
|
name: Install NPM dependencies
|
||||||
runs-on: Docker
|
runs-on: Docker
|
||||||
container:
|
container:
|
||||||
image: node:16
|
image: node:16
|
||||||
@ -24,3 +25,11 @@ jobs:
|
|||||||
path: ./node_modules
|
path: ./node_modules
|
||||||
key: node_modules
|
key: node_modules
|
||||||
restore-keys: node_modules
|
restore-keys: node_modules
|
||||||
|
Docker:
|
||||||
|
name: Build & publish docker image
|
||||||
|
needs: Dependencies
|
||||||
|
runs-on: Docker
|
||||||
|
container:
|
||||||
|
image: docker
|
||||||
|
steps:
|
||||||
|
- uses: ./docker-publish.yaml
|
Loading…
Reference in New Issue
Block a user