Skip to content

Commit

Permalink
Merge pull request #13 from opengisch/cache
Browse files Browse the repository at this point in the history
WIP Cache docker images
  • Loading branch information
suricactus authored May 10, 2021
2 parents 3277db1 + e8371c7 commit f0133f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ jobs:
run: |
cp .env.example .env
export $(egrep -v '^#' .env | xargs)
- name: Pull docker containers
run: docker-compose pull
- name: Cache docker containers
uses: satackey/action-docker-layer-caching@v0.0.11
continue-on-error: true
- name: Build and run docker containers
run: |
docker-compose up -d --build
Expand Down
1 change: 1 addition & 0 deletions docker-app/qfieldcloud/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
# http://springmeblog.com/2018/how-to-implement-multiple-user-types-with-django/


# TODO change types to Enum
class User(AbstractUser):
TYPE_USER = 1
TYPE_ORGANIZATION = 2
Expand Down

0 comments on commit f0133f9

Please sign in to comment.