Skip to content

Commit

Permalink
Dockerfile 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
MinchoGreenT committed Mar 13, 2024
1 parent 3c7a71c commit 841d90c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dev-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ jobs:
with:
arguments: clean build

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: $DOCKER_USERNAME
password: $DOCKER_PASSWORD

- name: Docker build & push to dockerhub
run: |
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
# docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD
docker build -f Dockerfile -t minchogt/farmus-spring .
docker push minchogt/farmus-spring

Expand Down

0 comments on commit 841d90c

Please sign in to comment.