From 86481995e4844e33632fe4eef67991d7393a9a11 Mon Sep 17 00:00:00 2001 From: cypsyco Date: Tue, 23 Jan 2024 00:38:57 +0900 Subject: [PATCH] github actions test --- .github/workflows/cicd.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index ae4d417..c28a0ff 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -27,20 +27,20 @@ jobs: run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} - name: Build Docker Image - run: docker build -t integrationninjas/springboot-example . + run: docker build -t madurad/springboot-example . - name: Publish Image to Docker Hub - run: docker push integrationninjas/springboot-example:latest + run: docker push madurad/springboot-example:latest deploy: needs: build runs-on: ip-172-31-8-60 steps: - name: Pull Image from Docker Hub - run: docker pull integrationninjas/springboot-example:latest + run: docker pull madurad/springboot-example:latest - name: Delete Old Container run: docker rm -f springboot-example-container || true - name: Run Docker Container - run: docker run -d -p 8080:8080 --name springboot-example-container integrationninjas/springboot-example \ No newline at end of file + run: docker run -d -p 8080:8080 --name springboot-example-container madurad/springboot-example \ No newline at end of file