InvenTree/.github/workflows/docker.yaml
2021-04-10 22:44:37 +10:00

24 lines
495 B
YAML

# Test that the docker file builds correctly
name: Docker
on: ["push", "pull_request"]
jobs:
inventree:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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)