-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(CI/CD) : Dockerfile-staging 파일경로 수정 및 DOCKER-CD-STAGING.yml log…
…in docker hub 내용 수정
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,8 @@ on: | |
|
||
jobs: | ||
ci: | ||
# Using Environment - prod 환경 사용 | ||
# environment: prod | ||
# Using Environment - staging 환경 사용 | ||
# environment: staging | ||
runs-on: ubuntu-24.04 | ||
env: | ||
working-directory: . | ||
|
@@ -38,15 +38,15 @@ jobs: | |
run: | | ||
mkdir -p ./src/main/resources && cd $_ | ||
touch ./application.yml | ||
echo "${{ secrets.YML }}" > ./application.yml | ||
echo "${{ secrets.YML_ACTIVE_STAGING }}" > ./application.yml | ||
cat ./application.yml | ||
working-directory: ${{ env.working-directory }} | ||
|
||
- name: application-staging.yml 생성 | ||
run: | | ||
cd ./src/main/resources | ||
touch ./application-staging.yml | ||
echo "${{ secrets.PROD_YML }}" > ./application-staging.yml | ||
echo "${{ secrets.STAGING_YML }}" > ./application-staging.yml | ||
working-directory: ${{ env.working-directory }} | ||
|
||
- name: 빌드 | ||
|
@@ -62,8 +62,8 @@ jobs: | |
- name: login docker hub | ||
uses: docker/[email protected] | ||
with: | ||
username: ${{ secrets.STAGING_DOCKER_LOGIN_USERNAME }} | ||
password: ${{ secrets.STAGING_DOCKER_LOGIN_ACCESSTOKEN }} | ||
username: ${{ secrets.PROD_DOCKER_LOGIN_USERNAME }} | ||
password: ${{ secrets.PROD_DOCKER_LOGIN_ACCESSTOKEN }} | ||
|
||
- name: docker image 빌드 및 푸시 | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters