InvenTree/.github/workflows/docker.yaml

24 lines
495 B
YAML
Raw Normal View History

2021-03-31 11:45:42 +00:00
# Test that the docker file builds correctly
name: Docker
on: ["push", "pull_request"]
jobs:
2021-04-10 12:44:37 +00:00
inventree:
2021-03-31 11:48:58 +00:00
runs-on: ubuntu-latest
2021-03-31 11:45:42 +00:00
steps:
- uses: actions/checkout@v2
2021-04-10 12:44:37 +00:00
- name: Build Server Image
run: cd docker/inventree && docker build . --tag inventree:$(date +%s)
nginx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build nginx Image
run: cd docker/nginx && docker build . --tag nxinx:$(date +%s)