diff --git a/entrypoint.sh b/entrypoint.sh index 8b8aa9c..28f3694 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -3,6 +3,8 @@ set -e main() { echo "" # see https://github.com/actions/toolkit/issues/168 + echo ">> elgohr/Publish-Docker-Github-Action@master has been deprecated." + echo ">> Please use elgohr/Publish-Docker-Github-Action@v4 for a blast in speed and security." if usesBoolean "${ACTIONS_STEP_DEBUG}"; then echo "::add-mask::${INPUT_USERNAME}" diff --git a/test.bats b/test.bats index 34fb588..d0dd2ec 100755 --- a/test.bats +++ b/test.bats @@ -624,7 +624,7 @@ teardown() { run /entrypoint.sh - expectStdOutIs "" + expectStdOutIs ">> elgohr/Publish-Docker-Github-Action@master has been deprecated.>> Please use elgohr/Publish-Docker-Github-Action@v4 for a blast in speed and security." expectMockCalledIs "/usr/local/mock/docker login -u USERNAME --password-stdin /usr/local/mock/docker build -t my/repository:latest . @@ -638,7 +638,7 @@ teardown() { run /entrypoint.sh - expectStdOutIs "" + expectStdOutIs ">> elgohr/Publish-Docker-Github-Action@master has been deprecated.>> Please use elgohr/Publish-Docker-Github-Action@v4 for a blast in speed and security." expectMockCalledIs "/usr/local/mock/docker build -t my/repository:latest ." }