From cfd2a23b6c58853e189ffa58fef1958cb5376f53 Mon Sep 17 00:00:00 2001 From: A3888S Date: Fri, 20 Dec 2024 00:27:36 +0000 Subject: [PATCH] app v3.0.1 --- .github/workflows/docker-build.yml | 4 ++-- app/app.py | 2 +- app/k8s/dev/deployment.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) 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