From 97aa7af4379437fd105251e6b196518ca32db6c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20M=C3=A9ausoone?= Date: Wed, 11 Dec 2019 12:59:11 +0100 Subject: [PATCH] test(docker): fix bats docker image --- .github/actions/bats/Dockerfile | 6 ++---- .github/actions/bats/entrypoint.sh | 3 --- package.json | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100755 .github/actions/bats/entrypoint.sh diff --git a/.github/actions/bats/Dockerfile b/.github/actions/bats/Dockerfile index e8aaa15..633b246 100644 --- a/.github/actions/bats/Dockerfile +++ b/.github/actions/bats/Dockerfile @@ -1,5 +1,3 @@ -FROM dduportal/bats:latest +FROM bats/bats:latest -COPY entrypoint.sh /entrypoint.sh - -ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file +CMD ["./tests"] diff --git a/.github/actions/bats/entrypoint.sh b/.github/actions/bats/entrypoint.sh deleted file mode 100755 index 73b8dcb..0000000 --- a/.github/actions/bats/entrypoint.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env sh - -/sbin/bats ./tests \ No newline at end of file diff --git a/package.json b/package.json index 1cea415..cffda55 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.1", "license": "MIT", "scripts": { - "test": "docker run -w /workdir -v $(pwd):/workdir dduportal/bats:latest ./tests", + "test": "docker run -w /workdir -v $(pwd):/workdir bats/bats:latest ./tests", "release": "semantic-release" }, "repository": {