-
Notifications
You must be signed in to change notification settings - Fork 55
Deploying to dockerhub
-
Start by cloning the repo:
git clone https://github.com/dreamfactorysoftware/df-docker.git
-
Checkout a branch:
git checkout -b <branch_name>
-
Make your changes and please provide comments in the file highlighting what has changed.
-
Add, commit, and push your changes to your branch.
-
Once the branch has been merged to master Dockerhub will automatically build and test the changes. This may take a few minutes so continue with the steps below and it should be finished by step 8.
-
Create a tagged release on Github
-
Make the Tag version and Release title identical then publish the release.
-
When the build passes clone the image from Dockerhub:
docker pull dreamfactorysoftware/dreamfactory
-
List the images to obtain the image id:
docker images
-
Tag the image:
docker tag <image_id> dreamfactorysoftware/dreamfactory:<image_tag>
Full exampledocker tag d2e8057f3349 dreamfactorysoftware/dreamfactory:4.3.1
-
Push the image to Dockerhub:
docker push dreamfactorysoftware/dreamfactory
This will now make the tagged release available in Dockerhub and Github.