Skip to content

Commit

Permalink
docker: Re-use image in autotest
Browse files Browse the repository at this point in the history
Build will always re-build the image, without cache. Use the CACHE_TAG
to access the newly built image.
  • Loading branch information
seriema committed Apr 9, 2020
1 parent 07497f1 commit 30a7ab0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
sut:
build: .
# Re-use the image built from Docker Hub Autotest: https://forums.docker.com/t/auto-test-rebuilds-image/68481/6
image: seriema/retro-cloud:${CACHE_TAG}
working_dir: /home/pi/retro-cloud-test
volumes:
- ./docker/compose:/home/pi/retro-cloud-test/docker/compose
Expand Down

0 comments on commit 30a7ab0

Please sign in to comment.