Skip to content

Commit

Permalink
actually update docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Highfire1 authored Dec 11, 2023
1 parent 6d09515 commit 95d1b82
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,22 @@ on:
- 'main'

jobs:

update-docker:
runs-on: ubuntu-latest
steps:
- name: Check Docker Version
run: docker --version
- name: Install Latest Docker
run: |
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 docker-ce
- name: Check Docker Version
run: docker --version


docker:
runs-on: self-hosted
steps:

- name: Check Docker Version
run: docker --version
- name: Install Latest Docker
run: |
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 docker-ce
- name: Check Docker Version
run: docker --version

- name: Checkout
uses: actions/checkout@v3

Expand Down

0 comments on commit 95d1b82

Please sign in to comment.