/skills-publish-packages

My clone repository- to learn github packages

Primary LanguageHTMLMIT LicenseMIT

Publish to GitHub Packages

Use GitHub Actions to publish your project to a Docker image.

Step 2: Add a Dockerfile

You created a publishing workflow! 🎉

We will add a Dockerfile to the cd branch. The Dockerfile contains a set of instructions that get stored in a Docker Image. If you'd like, you can learn more about Dockerfiles.

⌨️ Activity: Add a Dockerfile

  1. In the cd branch, create Dockerfile at the project root and include:
    FROM nginx:1.24-alpine
    COPY . /usr/share/nginx/html
  2. Commit your changes.
  3. Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.

Get help: Post in our discussion boardReview the GitHub status page

© 2023 GitHub • Code of ConductMIT License