Put static files in correct folder
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 44 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 82 KiB After Width: | Height: | Size: 82 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 46 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
@@ -89,11 +89,11 @@ The cookiecutter template comes with a `.github/workflows/docker.yml` file, whic
|
|||||||
|
|
||||||
2. Commit your changes and push them to GitHub.
|
2. Commit your changes and push them to GitHub.
|
||||||
3. Head back to your repository and click on the **Actions** tab.
|
3. Head back to your repository and click on the **Actions** tab.
|
||||||

|

|
||||||
From there, you can click on the workflows on the left-hand side of the screen.
|
From there, you can click on the workflows on the left-hand side of the screen.
|
||||||
4. In the next screen, you will see information about the workflow run and duration.
|
4. In the next screen, you will see information about the workflow run and duration.
|
||||||
If you click the button with the workflow name again, you will see the logs for the workflow steps.
|
If you click the button with the workflow name again, you will see the logs for the workflow steps.
|
||||||

|

|
||||||
|
|
||||||
## Configuring Docker Hub
|
## Configuring Docker Hub
|
||||||
|
|
||||||
@@ -102,21 +102,21 @@ you merge a GitHub pull request to the main branch of your project.
|
|||||||
|
|
||||||
1. Visit [https://hub.docker.com/](https://hub.docker.com/) and log in.
|
1. Visit [https://hub.docker.com/](https://hub.docker.com/) and log in.
|
||||||
2. Select the account or organization matching the one you entered when prompted with `stack_org` by the cookiecutter.
|
2. Select the account or organization matching the one you entered when prompted with `stack_org` by the cookiecutter.
|
||||||

|

|
||||||
3. Scroll to the bottom of the page and click **Create repository**.
|
3. Scroll to the bottom of the page and click **Create repository**.
|
||||||
4. Enter the name of the image matching the one you entered when prompted with `stack_name` by the cookiecutter.
|
4. Enter the name of the image matching the one you entered when prompted with `stack_name` by the cookiecutter.
|
||||||

|

|
||||||
5. Enter a description for your image.
|
5. Enter a description for your image.
|
||||||
6. Click **GitHub** under the **Build Settings** and follow the prompts to connect your account if it is not already connected.
|
6. Click **GitHub** under the **Build Settings** and follow the prompts to connect your account if it is not already connected.
|
||||||
7. Select the GitHub organization and repository containing your image definition from the dropdowns.
|
7. Select the GitHub organization and repository containing your image definition from the dropdowns.
|
||||||

|

|
||||||
8. Click the **Create and Build** button.
|
8. Click the **Create and Build** button.
|
||||||
9. Click on your avatar in the top-right corner and select Account settings.
|
9. Click on your avatar in the top-right corner and select Account settings.
|
||||||

|

|
||||||
10. Click on **Security** and then click on the **New Access Token** button.
|
10. Click on **Security** and then click on the **New Access Token** button.
|
||||||

|

|
||||||
11. Enter a meaningful name for your token and click on **Create**
|
11. Enter a meaningful name for your token and click on **Create**
|
||||||

|

|
||||||
12. Copy the personal access token displayed on the next screen.
|
12. Copy the personal access token displayed on the next screen.
|
||||||
|
|
||||||
```{note}
|
```{note}
|
||||||
@@ -124,13 +124,13 @@ you merge a GitHub pull request to the main branch of your project.
|
|||||||
```
|
```
|
||||||
|
|
||||||
13. Head back to your GitHub repository and click on the **Settings tab**.
|
13. Head back to your GitHub repository and click on the **Settings tab**.
|
||||||

|

|
||||||
14. Click on the **Secrets** section and then on the **New repository secret** button in the top right corner (see image above).
|
14. Click on the **Secrets** section and then on the **New repository secret** button in the top right corner (see image above).
|
||||||
15. Create a **DOCKERHUB_TOKEN** secret and paste the Personal Access Token from DockerHub in the **value** field.
|
15. Create a **DOCKERHUB_TOKEN** secret and paste the Personal Access Token from DockerHub in the **value** field.
|
||||||

|

|
||||||
16. Repeat the above step but creating a **DOCKERHUB_USERNAME** and replacing the _value_ field with your DockerHub username.
|
16. Repeat the above step but creating a **DOCKERHUB_USERNAME** and replacing the _value_ field with your DockerHub username.
|
||||||
Once you have completed these steps, your repository secrets section should look something like this:
|
Once you have completed these steps, your repository secrets section should look something like this:
|
||||||

|

|
||||||
|
|
||||||
## Defining Your Image
|
## Defining Your Image
|
||||||
|
|
||||||
|