Skip to content

Commit

Permalink
ci/cd: 중복될 수 있는 이름 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
Curry4182 committed Mar 20, 2024
1 parent b376039 commit a387822
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ jobs:
echo "${{ secrets.APPLICATION_INFRA_YML }}" | base64 --decode > lime-infrastructure/src/main/resources/application-infra.yml
find lime-infrastructure/src
- name: Build with Gradle
uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
with:
arguments: clean bootJar
##- name: Build with Gradle
## uses: gradle/gradle-build-action@67421db6bd0bf253fb4bd25b31ebb98943c375e1
## with:
## arguments: clean bootJar

##- name: docker image build
## run: docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/lime-image .
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
sudo docker stop $RUNNING_CONTAINER
fi
echo "Running new container on port $PORT..."
sudo docker run --name lime-image --rm -d -p $PORT:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lime-image
sudo docker run --rm -d -p $PORT:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lime-image
- name: Test Application Response from /actuator
id: test_response
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
sudo docker stop $RUNNING_CONTAINER
fi
echo "Running new container on port $PORT..."
sudo docker run --name lime-image --rm -d -p $PORT:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lime-image
sudo docker run --rm -d -p $PORT:8080 ${{ secrets.DOCKERHUB_USERNAME }}/lime-image
- name: Test Application Response from /actuator
id: test_response
Expand Down

0 comments on commit a387822

Please sign in to comment.