mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Add deprecation warning
This commit is contained in:
@@ -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}"
|
||||
|
||||
@@ -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 ."
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user