InvenTree/.github/workflows/docker_build.yaml

18 lines
405 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:48:23 +00:00
docker:
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)
- name: Build nginx Image
run: cd docker/nginx && docker build . --tag nxinx:$(date +%s)