Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci)🐳: Add Docker image build step to deployment workflow #444

Merged
merged 8 commits into from
Mar 4, 2025

Conversation

ericmjl
Copy link
Owner

@ericmjl ericmjl commented Mar 4, 2025

  • Introduced a new job in the GitHub Actions workflow to build a Docker image.
  • Updated the Dockerfile to use a new base image and streamlined the build process.

ericmjl added 3 commits March 3, 2025 21:11
- Introduced a new job in the GitHub Actions workflow to build a Docker image.
- Updated the Dockerfile to use a new base image and streamlined the build process.
- Updated the Docker build command to specify the Dockerfile location.
- Renamed the GitHub Actions workflow from 'Master branch deploy' to 'Deployments'.
- This change improves the clarity and purpose of the workflow name.
Copy link

github-actions bot commented Mar 4, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://ericmjl.github.io/Network-Analysis-Made-Simple/pr-preview/pr-444/

Built to branch gh-pages at 2025-03-04 02:41 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

ericmjl added 5 commits March 3, 2025 21:17
- Included the mkdocs.yml file in the Docker image by copying it during the build process.
- Ensured the documentation build step has access to the necessary configuration.
…text

- Included the notebooks directory in the Dockerfile to ensure it is copied into the container.
- This change supports the documentation build process by providing necessary resources.
- Deleted the command to build documentation during the container build process.
- Removed the Python HTTP server setup and related commands.
- Replaced manual Docker build command with Docker Buildx setup and build-push action.
- Configured the build-push action to tag the image as 'ericmjl/nams:latest'.
- Updated the deploy.yaml workflow to include the Dockerfile path.
- This ensures the correct Dockerfile is used during the build process.
@ericmjl ericmjl merged commit d7fe650 into master Mar 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant