Skip to content

Commit d27d841

Browse files
arilivigniCopilotjc-clark
authored
Enhance tutorial with hands-on practice section (#60645)
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
1 parent 74a3c39 commit d27d841

File tree

2 files changed

+19
-6
lines changed

2 files changed

+19
-6
lines changed

content/actions/tutorials/publish-packages/publish-docker-images.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,3 +234,15 @@ Then the `build-push-action` action builds and pushes the Docker image to Docker
234234
> * To maintain a consistent digest and allow a single attestation to verify all copies, push to one registry first and use a tool like [`crane copy`](https://github.com/google/go-containerregistry/blob/main/cmd/crane/doc/crane_copy.md) to replicate the image elsewhere.
235235
> * If you choose to build and push to each registry separately instead, you must generate a distinct attestation for each one to ensure your artifacts remain verifiable.
236236
{% endif %}
237+
238+
## Hands-on practice
239+
240+
Practice publishing Docker images with the [Publishing Docker images](https://github.com/skills/publish-docker-images) {% data variables.product.prodname_learning %} exercise.
241+
242+
In this exercise, you will learn how to:
243+
244+
* Authenticate to {% data variables.product.prodname_registry %} using the `GITHUB_TOKEN`.
245+
* Build and publish container images to the {% data variables.product.prodname_container_registry %} (`ghcr.io`).
246+
* Use official Docker actions, such as `docker/login-action`, `docker/build-push-action`, and `docker/setup-buildx-action`.
247+
* Generate tags automatically with `docker/metadata-action` based on branches, pull requests, and releases.
248+
* Create features, pull requests, and releases with proper container versioning.

content/copilot/tutorials/modernize-legacy-code.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,13 +407,14 @@ In this example, we looked at an account management system written in COBOL and
407407
408408
## Hands-on practice
409409
410-
Try the [Modernizing your legacy code with {% data variables.product.prodname_copilot %}](https://github.com/skills/modernize-your-legacy-code-with-github-copilot) Skills exercise for practical experience updating a legacy codebase with {% data variables.product.prodname_copilot %}.
410+
Practice modernizing legacy code with the [Modernizing your legacy code with {% data variables.product.prodname_copilot %}](https://github.com/skills/modernize-your-legacy-code-with-github-copilot) Skills exercise.
411411
412-
Here is what you will learn:
413-
* Analyze legacy COBOL code using {% data variables.copilot.copilot_chat %} to understand business logic
414-
* Generate documentation, including Mermaid data flow diagrams and test plans, with {% data variables.product.prodname_copilot_short %}
415-
* Modernize the codebase from COBOL to Node.js using {% data variables.product.prodname_copilot_short %}'s code transformation capabilities
416-
* Create comprehensive unit tests based on the generated test plan
412+
In this exercise, you will learn how to:
413+
414+
* Analyze legacy COBOL code with {% data variables.copilot.copilot_chat %} to understand business logic.
415+
* Generate documentation, such as Mermaid data flow diagrams and test plans.
416+
* Transform a COBOL codebase to Node.js with {% data variables.product.prodname_copilot_short %}.
417+
* Create unit tests based on the generated test plan.
417418
418419
## Further reading
419420

0 commit comments

Comments
 (0)