updated dockerfile to use slip docker image
- updated dockerfile - updated readme regarding image upload
This commit is contained in:
@ -64,4 +64,4 @@ jobs:
|
||||
context: .
|
||||
file: Dockerfile
|
||||
push: true
|
||||
tags: ${{ secrets.DOCKER_REGISTRY }}/my-portfolio-app:latest
|
||||
tags: ${{ secrets.DOCKER_REGISTRY }}/taqi/portfolio/my-portfolio-app:latest
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
# Step 1: Build the React app
|
||||
FROM node:20 AS build
|
||||
FROM node:24-slim AS build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
10
README.md
10
README.md
@ -1,5 +1,4 @@
|
||||
My Portfolio Website
|
||||
=====================
|
||||
# My Portfolio Website
|
||||
|
||||
# Overview
|
||||
|
||||
@ -31,14 +30,19 @@ docker push $DOCKER_REGISTRY/my-portfolio-app:latest
|
||||
|
||||
# Check the registry
|
||||
curl -u user:pass https://$DOCKER_REGISTRY/v2/_catalog
|
||||
|
||||
# Or if using gitea registry
|
||||
curl --netrc -X GET https://gitea.yourdomain.com/v2/_catalog
|
||||
```
|
||||
|
||||
# CI/CD
|
||||
|
||||
Run in Gitea Actions within kubernetes cluster
|
||||
|
||||
Current, the project has workflow files for:
|
||||
|
||||
- Build and push the container to the registry
|
||||
- Deploy the container to the Kubernetes cluster
|
||||
|
||||
Thus making a commit to the master branch will automatically build the
|
||||
container and deploy it to the cluster.
|
||||
container and deploy it to the cluster.
|
||||
|
||||
Reference in New Issue
Block a user