InvenTree/.github/workflows/docker.yaml

16 lines
300 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:
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
- name: Build Docker Image
2021-03-31 11:50:41 +00:00
run: docker build . --file docker/Dockerfile --tag inventree:$(date +%s)
2021-03-31 11:45:42 +00:00