Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 38cfaff81f | |||
| 80ac55b6e2 |
@@ -176,14 +176,28 @@ jobs:
|
||||
path: src/frontend/apps/desk/out/
|
||||
key: build-front-${{ github.run_id }}
|
||||
|
||||
# Pull the latest image to build, and avoid caching pull-only images.
|
||||
# (docker pull is faster than caching in most cases.)
|
||||
- run: docker compose pull
|
||||
|
||||
# In this step, this action saves a list of existing images,
|
||||
# the cache is created without them in the post run.
|
||||
# It also restores the cache if it exists.
|
||||
- uses: satackey/action-docker-layer-caching@v0.0.11
|
||||
# Ignore the failure of a step and avoid terminating the job.
|
||||
continue-on-error: true
|
||||
|
||||
- name: Build and Start Docker Servers
|
||||
env:
|
||||
DOCKER_BUILDKIT: 1
|
||||
COMPOSE_DOCKER_CLI_BUILD: 1
|
||||
run: |
|
||||
docker compose build --pull --build-arg BUILDKIT_INLINE_CACHE=1
|
||||
docker compose build --build-arg BUILDKIT_INLINE_CACHE=1
|
||||
make run
|
||||
|
||||
# Finally, "Post Run satackey/action-docker-layer-caching@v0.0.11",
|
||||
# which is the process of saving the cache, will be executed.
|
||||
|
||||
- name: Apply DRF migrations
|
||||
run: |
|
||||
make migrate
|
||||
|
||||
Reference in New Issue
Block a user