diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index e4e9838..c0ab19e 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -20,8 +20,8 @@ jobs: - name: Build Docker Image run: | - docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/step-final-project:v2.0.1 -f app/Dockerfile app/ + docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/step-final-project:v3.0.1 -f app/Dockerfile app/ - name: Push Docker Image run: | - docker push ${{ secrets.DOCKERHUB_USERNAME }}/step-final-project:v2.0.1 + docker push ${{ secrets.DOCKERHUB_USERNAME }}/step-final-project:v3.0.1 diff --git a/app/app.py b/app/app.py index da91646..ba5fe1e 100644 --- a/app/app.py +++ b/app/app.py @@ -26,7 +26,7 @@ def do_GET(self): -

StepFinalProject v 2.0.1

+

StepFinalProject v 3.0.1

""" diff --git a/app/k8s/dev/deployment.yaml b/app/k8s/dev/deployment.yaml index 9eada48..81ae8f6 100644 --- a/app/k8s/dev/deployment.yaml +++ b/app/k8s/dev/deployment.yaml @@ -14,6 +14,6 @@ spec: spec: containers: - name: python-backend - image: a3888s/step-final-project:v2.0.1 + image: a3888s/step-final-project:v3.0.1 ports: - containerPort: 8080 \ No newline at end of file