Skip to content

Commit

Permalink
testing actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
christopher-besch committed Mar 15, 2024
1 parent ef3d2fc commit debb33d
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install Docker Compose
- name: Build Docker Image
run: |
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get -y install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Run Docker-in-Docker End-to-End Test
run: |
sudo dockerd & docker compose up --abort-on-container-exit --exit-code-from test_client
docker build -t rootfsimage .

0 comments on commit debb33d

Please sign in to comment.