Skip to content

Commit

Permalink
Update ollamainaction.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhant385 authored Aug 9, 2024
1 parent 7d204f2 commit 6bb05c2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/ollamainaction.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,25 @@ jobs:
sudo ufw allow 3389/tcp
sudo ufw reload
- name: Install Docker
- name: Install Docker and Docker Compose
run: |
sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
sudo apt-get update
sudo apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
sudo apt-get install -y docker-ce docker-ce-cli containerd.io
sudo usermod -aG docker $USER
sudo systemctl enable docker
sudo systemctl start docker
sudo curl -L "https://github.com/docker/compose/releases/download/v2.14.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
- name: Install Ollama and Run Llama 3 Model
run: |
Expand Down

0 comments on commit 6bb05c2

Please sign in to comment.