diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 2319945..4008e38 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -54,4 +54,9 @@ jobs: USER_DAFAULTIMAGE: ${{ secrets.USER_DAFAULTIMAGE }} - + - name: Docker build + run: | + docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} + docker build -t app . + docker tag app ${{ secrets.DOCKER_USERNAME }}/sejongmate:latest + docker push ${{ secrets.DOCKER_USERNAME }}/sejongmate:latest