Skip to content

Commit

Permalink
[build] : gitaction script test 순서 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackBean99 committed Aug 27, 2023
1 parent 68c4eb5 commit 0ba013c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/BuildServer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@ jobs:
RELEASE_VERSION_WITHOUT_V="$(cut -d'v' -f2 <<< ${GITHUB_REF#refs/*/})"
echo ::set-output name=VERSION::$RELEASE_VERSION_WITHOUT_V
#테스트 수행용 도커 컴포즈
- name: Start containers
run: docker-compose up -d

- name: Gradle Build
uses: gradle/gradle-build-action@v2

Expand All @@ -45,13 +41,17 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

# 테스트 수행용 도커 컴포즈
- name: Start containers
run: docker-compose up -d

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

# docker build / push to NCP Container Registry
# docker build / push to DockerHub Container Registry
- name: Build and push
uses: docker/build-push-action@v3
with:
Expand Down

0 comments on commit 0ba013c

Please sign in to comment.