docker / extensions-submissions

Submit your Docker Extension here
Apache License 2.0
11 stars 2 forks source link

[Submission]: BlocklyAutomation #62

Closed ignatandrei closed 1 year ago

ignatandrei commented 1 year ago

Docker Hub repository name

ignatandrei/blockly-automation

Terms of services

github-actions[bot] commented 1 year ago

:white_check_mark: @ignatandrei has accepted the terms of service.

The automatic validation of your extension has started, you will see the result in ~10 minutes :hourglass_flowing_sand:.

github-actions[bot] commented 1 year ago

:x: There was a problem during the validation job.

Someone from the @docker/extensions will have to take a look at this issue. We will let you know in this issue when it is fixed.


See action for more details.

ignatandrei commented 1 year ago

The image is https://hub.docker.com/r/ignatandrei/blockly-automation . It is like newman image, but with blocks

benja-M-1 commented 1 year ago

I changed the repository name in the description so the validation works

github-actions[bot] commented 1 year ago

:x: Validation failed with the following errors

repository name must be lowercase

Please fix the issues and check everything is ok locally with the following command:

docker extension validate -a -s -i ignatandrei/blocklyAutomation

Then you can trigger the validation commenting /validate when you are ready.

See https://docs.docker.com/desktop/extensions-sdk/extensions/validate/ for more information.

github-actions[bot] commented 1 year ago

:x: Validation failed with the following errors

(required) image label "com.docker.extension.categories" is missing in the Dockerfile: https://docs.docker.com/desktop/extensions-sdk/extensions/labels/ The extension "ignatandrei/blockly-automation:0.0.4" hasn't passed the checks to be published.

Please fix the issues and check everything is ok locally with the following command:

docker extension validate -a -s -i ignatandrei/blockly-automation

Then you can trigger the validation commenting /validate when you are ready.

See https://docs.docker.com/desktop/extensions-sdk/extensions/validate/ for more information.

benja-M-1 commented 1 year ago

@ignatandrei now there is a real validation issue to fix :)

ignatandrei commented 1 year ago

Hello @benja-M-1 - could you please tell me where I can fix ? Or should I publish the extension again ?

benja-M-1 commented 1 year ago

Hi @ignatandrei you have to add the com.docker.extension.categories in the Dockerfile of the extension, and create a new tag for the image, push it and comment this issue with / validate :)

ignatandrei commented 1 year ago

Hello @benja-M-1

I tried to do so, but I have an error : ERROR: failed to solve: dockerfile parse error on line 13: unknown instruction: com.docker.extension.categories="development,testing-tools,utility-tools"

You can reproduce this error by going to https://github.com/ignatandrei/BlocklyAutomation , download, goto src\DeployersToPackage\DockerExtension and execute

docker buildx build --push --platform=linux/amd64,linux/arm64 --tag=ignatandrei/blockly-automation:0.0.6 .

( or maybe execute deploy.bat from the folder)

Could you please help ? If it helps, I have on windows

Docker Desktop 4.17.0 (99724) is currently the newest version available.

benja-M-1 commented 1 year ago

@ignatandrei you need a \ at the end of this line https://github.com/ignatandrei/BlocklyAutomation/blob/main/src/DeployersToPackage/DockerExtension/Dockerfile#L12

ignatandrei commented 1 year ago

/validate

github-actions[bot] commented 1 year ago

:x: Validation failed with the following errors

(required) image label "com.docker.extension.categories" cannot define more than 2 categories.: https://docs.docker.com/desktop/extensions-sdk/extensions/labels/ The extension "ignatandrei/blockly-automation:0.0.6" hasn't passed the checks to be published.

Please fix the issues and check everything is ok locally with the following command:

docker extension validate -a -s -i ignatandrei/blockly-automation

Then you can trigger the validation commenting /validate when you are ready.

See https://docs.docker.com/desktop/extensions-sdk/extensions/validate/ for more information.

ignatandrei commented 1 year ago

/validate

github-actions[bot] commented 1 year ago

:white_check_mark: The extension ignatandrei/blockly-automation is valid :tada:.

Now, @docker/extensions will authorise the publication of the extension to the marketplace. Once the extension is published, this issue will be closed.

In the meantime, please tell us about your experience building a Docker Desktop extension here: https://survey.alchemer.com/s3/7184948/Publishers-Feedback-Form.

ignatandrei commented 1 year ago

Thanks. @benja-M-1

publisher-extensions-bot[bot] commented 1 year ago

:tada: Congratulations, your extension has been published to the marketplace.

It may not appear in your Docker Desktop yet. In that case, restart Docker Desktop (don't worry, users will see it as soon as the cache is refreshed, every ~12 hours).

If you haven't already, please tell us about your experience building a Docker Desktop extension here.