From 6aaa8fab75a9d8ff2fc760c95ad2804ef091d3e9 Mon Sep 17 00:00:00 2001 From: djalal Date: Tue, 1 Jan 2019 23:33:27 +0100 Subject: [PATCH] refresh auto build slide refresh section about setting auto build to stay up-to-date with UI changes on hub.docker.com --- slides/containers/Publishing_To_Docker_Hub.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/slides/containers/Publishing_To_Docker_Hub.md b/slides/containers/Publishing_To_Docker_Hub.md index 7dc6a18b..2e296fc7 100644 --- a/slides/containers/Publishing_To_Docker_Hub.md +++ b/slides/containers/Publishing_To_Docker_Hub.md @@ -91,12 +91,12 @@ class: extra-details * We need a Dockerized repository! * Let's go to https://github.com/jpetazzo/trainingwheels and fork it. -* Go to the Docker Hub (https://hub.docker.com/). -* Select "Create" in the top-right bar, and select "Create Automated Build." +* Go to the Docker Hub (https://hub.docker.com/) and sign-in. Select "Repositories" in the blue navigation menu. +* Select "Create" in the top-right bar, and select "Create Repository+". * Connect your Docker Hub account to your GitHub account. -* Select your user and the repository that we just forked. -* Create. -* Then go to "Build Settings." -* Put `/www` in "Dockerfile Location" (or whichever directory the Dockerfile is in). -* Click "Trigger" to build the repository immediately (without waiting for a git push). +* Click "Create" button. +* Then go to "Builds" folder. +* Click on Github icon and select your user and the repository that we just forked. +* In "Build rules" block near page bottom, put `/www` in "Build Context" column (or whichever directory the Dockerfile is in). +* Click "Save and Build" to build the repository immediately (without waiting for a git push). * Subsequent builds will happen automatically, thanks to GitHub hooks.