Skip to content

Commit

Permalink
chore: docker 설치 스크립트 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
clean2001 committed Oct 24, 2024
1 parent 8ae8f2e commit 718da8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/aws-cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,10 @@ jobs:
key: ${{secrets.AWS_INSTANCE_PEM}}
port: 22
script: |
if ! type docker > /dev/null ; then
sudo snap install docker || echo "docker install failed!"
fi
sudo docker login --username ${{secrets.DOCKER_EMAIL}} --password ${{secrets.DOCKER_PASSWORD}}
cd /home/${{ env.MODULE }}/infra/${{ env.DEPLOY_TARGET }}
echo "${{ secrets.APPLICATION_SECRET_PROPERTIES }}" > application-secret.properties
docker compose pull
Expand Down

0 comments on commit 718da8b

Please sign in to comment.