mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Cache bats test environment
This commit is contained in:
@@ -14,8 +14,10 @@ RUN apk update \
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
FROM runtime as test
|
||||
FROM runtime as testEnv
|
||||
RUN apk add --no-cache coreutils bats ncurses
|
||||
|
||||
FROM testEnv as test
|
||||
ADD test.bats /test.bats
|
||||
ADD stub.sh /fake_bin/docker
|
||||
ADD mock.sh /fake_bin/date
|
||||
|
||||
Reference in New Issue
Block a user