Skip to content

Commit

Permalink
Merge pull request #114 from Kusitms-29th-ASAP/chore/deploy/cd
Browse files Browse the repository at this point in the history
chore: 도커 레지스트리 제거
  • Loading branch information
tlarbals824 authored Aug 16, 2024
2 parents 5ebea3a + 544d40b commit d94bfc1
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/dev_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
IMAGE_NAME: ${{ secrets.IMAGE_NAME }}
run: |
docker build -f .deploy/Dockerfile -t $DOCKER_REGISTRY/$IMAGE_NAME:$VERSION .
docker tag $DOCKER_USERNAME/$IMAGE_NAME:$VERSION $DOCKER_REGISTRY/$IMAGE_NAME:latest
docker build -f .deploy/Dockerfile -t $DOCKER_USERNAME/$IMAGE_NAME:$VERSION .
docker tag $DOCKER_USERNAME/$IMAGE_NAME:$VERSION $DOCKER_USERNAME/$IMAGE_NAME:latest
docker push $DOCKER_USERNAME/$IMAGE_NAME:$VERSION
docker push $DOCKER_USERNAME/$IMAGE_NAME:latest
Expand All @@ -108,12 +108,8 @@ jobs:
echo "RDB_SCHEMA=${{secrets.RDB_SCHEMA}}" >> .env
echo "RDB_USER=${{secrets.RDB_USER}}" >> .env
echo "RDB_PASSWORD=${{secrets.RDB_PASSWORD}}" >> .env
echo "MONGO_HOST=${{secrets.MONGO_HOST}}" >> .env
echo "MONGO_DB=${{secrets.MONGO_DB}}" >> .env
echo "MONGO_USER=${{secrets.MONGO_USER}}" >> .env
echo "MONGO_PASSWORD=${{secrets.MONGO_PASSWORD}}" >> .env
echo "JWT_SECRET=${{secrets.JWT_SECRET}}" >> .env
echo "DOCKER_REGISTRY=${{secrets.DOCKER_REGISTRY}}" >> .env
echo "DOCKER_REGISTRY=${{secrets.DOCKER_USERNAME}}" >> .env
echo "IMAGE_NAME=${{secrets.IMAGE_NAME}}" >> .env
echo "SEOUL_OPEN_API_KEY=${{secrets.SEOUL_OPEN_API_KEY}}" >> .env
echo "NEIS_OPEN_API_KEY=${{secrets.NEIS_OPEN_API_KEY}}" >> .env
Expand Down

0 comments on commit d94bfc1

Please sign in to comment.