Skip to content

Commit

Permalink
fix: build-args 문법 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokkkkkk committed Jul 18, 2024
1 parent 70c20bc commit e01904b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,18 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build and push
uses: docker/build-push-action@v6
- name: Build and push Docker images
uses: docker/build-push-action@v6.4.1
with:
context: .
file: ./Dockerfile.prod
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/syluv:latest
build-args:
REACT_APP_KAKAO_JS_KEY: ${{ secrets.REACT_APP_KAKAO_JS_KEY }}
REACT_APP_KAKAO_REST_API_KEY: ${{ secrets.REACT_APP_KAKAO_REST_API_KEY }}
REACT_APP_KAKAO_REDIRECT_URI: ${{ secrets.REACT_APP_KAKAO_REDIRECT_URI }}
REACT_APP_BASE_URL: ${{ secrets.REACT_APP_BASE_URL }}
build-args: |
REACT_APP_KAKAO_JS_KEY=${{ secrets.REACT_APP_KAKAO_JS_KEY }}
REACT_APP_KAKAO_REST_API_KEY=${{ secrets.REACT_APP_KAKAO_REST_API_KEY }}
REACT_APP_KAKAO_REDIRECT_URI=${{ secrets.REACT_APP_KAKAO_REDIRECT_URI }}
REACT_APP_BASE_URL=${{ secrets.REACT_APP_BASE_URL }}
- name: Pull and restart Docker Container
uses: appleboy/ssh-action@master
Expand Down

0 comments on commit e01904b

Please sign in to comment.