2
0
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:
Oliver Walters 2021-04-10 22:48:23 +10:00
parent 0e1b647e7b
commit c9021fe991

View File

@ -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)