mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 19:46:46 +00:00
Simplify docker build workflow
This commit is contained in:
parent
0e1b647e7b
commit
c9021fe991
8
.github/workflows/docker.yaml
vendored
8
.github/workflows/docker.yaml
vendored
@ -6,19 +6,13 @@ on: ["push", "pull_request"]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
inventree:
|
docker:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Build Server Image
|
- name: Build Server Image
|
||||||
run: cd docker/inventree && docker build . --tag inventree:$(date +%s)
|
run: cd docker/inventree && docker build . --tag inventree:$(date +%s)
|
||||||
|
|
||||||
nginx:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Build nginx Image
|
- name: Build nginx Image
|
||||||
run: cd docker/nginx && docker build . --tag nxinx:$(date +%s)
|
run: cd docker/nginx && docker build . --tag nxinx:$(date +%s)
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user