Add deprecation warning

This commit is contained in:
Lars Gohr
2022-04-09 21:56:31 +02:00
parent 1e5f0bd24d
commit 8217e91c03
2 changed files with 4 additions and 2 deletions

View File

@@ -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}"

View File

@@ -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 ."
}