delete onedev-buildspec.yml (OD-2527)
hichem opened 5 months ago

Hello, I accidentally deleted the entire .onedev-buildspec.yml file. How can I get it back?

  • jbauer commented 5 months ago

    Revert the commit which has deleted the file.

  • hichem commented 5 months ago

    thanks , i solve that , but i have a question how can i push image to dockerhub ?

  • Robin Shen changed fields 5 months ago
    Name Previous Value Current Value
    Priority
    Critical
    Normal
  • Robin Shen commented 5 months ago

    thanks , i solve that , but i have a question how can i push image to dockerhub ?

    Check this tutorial: https://docs.onedev.io/tutorials/cicd/build-docker-image

  • Robin Shen changed state to 'Closed' 5 months ago
    Previous Value Current Value
    Open
    Closed
  • hichem commented 5 months ago

    there s no explication , i cant understand how the image will be pushed if there s no a configuration for dockerhub ?!

  • hichem commented 5 months ago

    can't push the image to docker hub

  • hichem changed state to 'Open' 5 months ago
    Previous Value Current Value
    Closed
    Open
  • Robin Shen commented 5 months ago

    there s no explication , i cant understand how the image will be pushed if there s no a configuration for dockerhub ?!

    You may configure credential to dockerhub either in more settings of the build image step, or in the job executor used by the job.

  • hichem commented 5 months ago

    i cant understand there 's no tuto with all steps please ? i need this solution to complete my work but i cant push image to dockerhub !

  • Robin Shen commented 5 months ago

    There is already a tutorial as I mentioned in previous comment. This tutorial defines dockerhub credentials in executor like below:

    2025-08-20_20-43-19.png

    You can also define the credential in more settings of build image step as mentioned.

  • Robin Shen changed state to 'Closed' 4 months ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (5)
Reference
OD-2527
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover