Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RaviAkshintala authored Oct 15, 2024
1 parent 4844905 commit ae41c81
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CD

on: [push,pull_request]
on: [push, pull_request]

jobs:
build:
Expand All @@ -12,18 +12,24 @@ jobs:

steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
- name: setup Docker

- name: Set BuildKit
run: |
echo "export DOCKER_BUILDKIT=1" >> $GITHUB_ENV
- name: Start Docker with Experimental Features
run: |
sudo dockerd --experimental &
sleep 5 # Wait for Docker to start
- name: Setup Docker
uses: docker/setup-buildx-action@v2
with:
docker_channel: ${{ matrix.docker_channel }}

- name: Start and enable Docker service
run: |
sudo systemctl start docker
sudo systemctl enable docker
- name: Install requirements
run: |
pip install DockerBuildManagement
Expand Down

0 comments on commit ae41c81

Please sign in to comment.