File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,12 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@v2
1616 - run : docker-compose -f test_project/docker-compose.yml -p test_project pull
17+
1718 - uses : satackey/action-docker-layer-caching@v0.0
1819 with :
1920 key : docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-{hash}
2021 restore-keys : docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-
22+
2123 - run : docker rmi $(docker image ls -q)
2224 - run : docker-compose -f test_project/docker-compose.yml -p test_project build --no-cache
2325
2931 steps :
3032 - uses : actions/checkout@v2
3133 - run : docker-compose -f test_project/docker-compose.yml -p test_project pull
34+
3235 - uses : satackey/action-docker-layer-caching@v0.0
36+ with :
37+ key : docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-{hash}
38+ restore-keys : docker-layer-caching-${{ github.workflow }}-${{ github.event_name }}-
3339
3440 - name : Get cached image ID
3541 run : echo ::set-output name=id::$(docker image ls -q test_project_node)
You can’t perform that action at this time.
0 commit comments