From e572ae42cad6e94e1330812418085788b05bd843 Mon Sep 17 00:00:00 2001 From: anys34 Date: Mon, 26 Aug 2024 08:47:43 +0900 Subject: [PATCH] asdf --- .github/workflows/docker-publish.yml | 22 ++----------------- .../com/anys34/fiveselves/Controller.java | 2 +- 2 files changed, 3 insertions(+), 21 deletions(-) diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 8ec746c..89359e3 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,4 +1,4 @@ -name: Build, Push Docker Image, and Deploy to Azure +name: Build and Push Docker Image on: push: @@ -32,22 +32,4 @@ jobs: run: docker build -t anys34/five:latest . - name: Push Docker image - run: docker push anys34/five:latest - - - name: Install Azure CLI - uses: azure/setup-azure-cli@v2 - - - name: Azure Login - run: | - az login --service-principal \ - -u ${{ secrets.AZURE_CLIENT_ID }} \ - -p ${{ secrets.AZURE_SECRET }} \ - -t ${{ secrets.AZURE_TENANT }} - - - name: Deploy to Azure Container Apps - run: | - az account set --subscription ${{ secrets.AZURE_SUBSCRIPTION }} - az containerapp update \ - --name five \ - --resource-group rg-FiveSelves \ - --image anys34/five:latest \ No newline at end of file + run: docker push anys34/five:latest \ No newline at end of file diff --git a/src/main/java/com/anys34/fiveselves/Controller.java b/src/main/java/com/anys34/fiveselves/Controller.java index 1ce0544..c0289e8 100644 --- a/src/main/java/com/anys34/fiveselves/Controller.java +++ b/src/main/java/com/anys34/fiveselves/Controller.java @@ -11,6 +11,6 @@ public String hello() { } @GetMapping("/hello") public String hello2() { - return "Hello World!"; + return "Hello World!2"; } }