Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions content/guides/bun/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,10 @@ Save the workflow file and run the job.
In this section, you learned how to set up a GitHub Actions workflow for your Bun application.

Related information:
- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps

Expand Down
3 changes: 2 additions & 1 deletion content/guides/cpp/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your C+

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/dotnet/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your ap

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/golang/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your ap

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/java/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your ap

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/nodejs/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your No

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/php/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your ap

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/python/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your Py

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/r/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your R

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/ruby/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your Ru

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
3 changes: 2 additions & 1 deletion content/guides/rust/configure-ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ In this section, you learned how to set up a GitHub Actions workflow for your Ru

Related information:

- [Introduction to GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Introduction to GitHub Actions](/guides/gha.md)
- [Docker Build GitHub Actions](/manuals/build/ci/github-actions/_index.md)
- [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions)

## Next steps
Expand Down
6 changes: 5 additions & 1 deletion content/manuals/billing/core-billing/history.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,15 @@ You receive your invoice when the subscription renews. To verify your renewal da

### Include your VAT number on your invoice

> [!NOTE]
>
> If the VAT number field is not available, complete the [Contact Support form](https://hub.docker.com/support/contact/). This field may need to be manually added.

Update your billing information to include your VAT number:

1. Sign in to Docker Hub.
2. For user accounts, Select your avatar in the top-right corner, then **Billing**. For organizations, select the name of the organization.
3. Select the **Payment methods and billing history** link.
3. Select the **Billing address** link.
4. In the **Billing Information** section, select **Update information**.
5. In the **Tax ID** section, select the ID type and enter your VAT number.
6. Select **Save**.
Expand Down
172 changes: 3 additions & 169 deletions content/manuals/build/ci/github-actions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,172 +43,6 @@ refer to the following sections:

## Get started with GitHub Actions

{{< include "gha-tutorial.md" >}}
This tutorial walks you through the process of setting up and using Docker GitHub
Actions for building Docker images, and pushing images to Docker Hub. You will
complete the following steps:

1. Create a new repository on GitHub.
2. Define the GitHub Actions workflow.
3. Run the workflow.

To follow this tutorial, you need a Docker ID and a GitHub account.

### Step one: Create the repository

Create a GitHub repository and configure the Docker Hub credentials.

1. Create a new GitHub repository using
[this template repository](https://github.com/dvdksn/clockbox/generate).

The repository contains a simple Dockerfile, and nothing else. Feel free to
use another repository containing a working Dockerfile if you prefer.

2. Open the repository **Settings**, and go to **Secrets and variables** > **Actions**.

3. Create a new **Repository variable** named `DOCKERHUB_USERNAME` and your Docker ID as value.

4. Create a new
[personal access token](/security/for-developers/access-tokens/#create-an-access-token)
for Docker Hub. You can name this token `clockboxci`.

5. Add the Docker Hub access token as a **Repository secret** in your GitHub repository, with the name
`DOCKERHUB_TOKEN`.

With your repository created, and credentials configured, you're now ready for
action.

### Step two: Set up the workflow

Set up your GitHub Actions workflow for building and pushing the image to Docker
Hub.

1. Go to your repository on GitHub and then select the **Actions** tab.
2. Select **set up a workflow yourself**.

This takes you to a page for creating a new GitHub actions workflow file in
your repository, under `.github/workflows/main.yml` by default.

3. In the editor window, copy and paste the following YAML configuration.

```yaml
name: ci

on:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
```

- `name`: the name of this workflow.
- `on.push.branches`: specifies that this workflow should run on every push
event for the branches in the list.
- `jobs`: creates a job ID (`build`) and declares the type of machine that
the job should run on.

For more information about the YAML syntax used here, see
[Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions).

### Step three: Define the workflow steps

Now the essentials: what steps to run, and in what order to run them.

```yaml
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/clockbox:latest
```

The previous YAML snippet contains a sequence of steps that:

1. Signs in to Docker Hub, using the
[Docker Login](https://github.com/marketplace/actions/docker-login) action and your Docker Hub credentials.
2. Creates a BuildKit builder instance using the
[Docker Setup Buildx](https://github.com/marketplace/actions/docker-setup-buildx) action.
3. Builds the container image and pushes it to the Docker Hub repository, using
[Build and push Docker images](https://github.com/marketplace/actions/build-and-push-docker-images).

The `with` key lists a number of input parameters that configures the step:

- `push`: tells the action to upload the image to a registry after building
it.
- `tags`: tags that specify where to push the image.

Add these steps to your workflow file. The full workflow configuration should
look as follows:


```yaml
name: ci

on:
push:
branches:
- "main"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
with:
push: true
tags: ${{ vars.DOCKERHUB_USERNAME }}/clockbox:latest
```

### Run the workflow

Save the workflow file and run the job.

1. Select **Commit changes...** and push the changes to the `main` branch.

After pushing the commit, the workflow starts automatically.

2. Go to the **Actions** tab. It displays the workflow.

Selecting the workflow shows you the breakdown of all the steps.

3. When the workflow is complete, go to your
[repositories on Docker Hub](https://hub.docker.com/repositories).

If you see the new repository in that list, it means the GitHub Actions
successfully pushed the image to Docker Hub.

## Next steps

This tutorial has shown you how to create a simple GitHub Actions workflow,
using the official Docker actions, to build and push an image to Docker Hub.

There are many more things you can do to customize your workflow to better suit
your needs. To learn more about some of the more advanced use cases, take a look
at the advanced examples, such as [building multi-platform images](multi-platform.md),
or [using cache storage backends](cache.md) and also how to [configure your builder](configure-builder.md).
The [Introduction to GitHub Actions with Docker](/guides/gha.md) guide walks
you through the process of setting up and using Docker GitHub Actions for
building Docker images, and pushing images to Docker Hub.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ linkTitle: Software artifacts
weight: 20
keywords: oci, artifacts, docker hub
description: You can use Docker Hub to store software artifacts packaged as OCI artifacts.
aliases:
- /docker-hub/oci-artifacts/
---

You can use Docker Hub to store any kind of software artifact, not just
Expand Down
2 changes: 1 addition & 1 deletion content/manuals/harmonia/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Run `docker harmonia doctor` to print helpful troubleshooting information.
- KinD does not run on Project Harmonia due to some hard-coded assumptions to ensure it's running in a privileged container. K3d is a good alternative.
- Containers cannot access host through DNS `host.docker.internal`.
- File binds (non-directory binds) are currently static, meaning changes will not be reflected until the container is restarted. This also affects Compose configs and secrets directives.
- Bind volumes are not supported.
- Bind mounts, such as `-v /localpath:/incontainer` in the `docker run` command, are not supported without using a file-sync.
- Port-forwarding for UDP is not supported.
- Docker Compose projects relying on `watch` in `sync` mode are not working with the `tar` synchronizer. Configure it to use `docker cp` instead, disable tar sync by setting `COMPOSE_EXPERIMENTAL_WATCH_TAR=0` in your environment.
- Some Docker Engine features that let you access the underlying host, such as `--pid=host`, `--network=host`, and `--ipc=host`, are currently disabled.