Skip to content

Commit e68584e

Browse files
committed
refactor: replace Podman with Docker in CI/CD pipeline
1 parent 0199360 commit e68584e

File tree

3 files changed

+9
-99
lines changed

3 files changed

+9
-99
lines changed

.github/workflows/claude-code-review.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/claude.yml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/docker-image.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -104,17 +104,17 @@ jobs:
104104
- uses: actions/checkout@v4
105105

106106
- name: Set up Docker Buildx
107-
uses: podman/setup-buildx-action@v3
107+
uses: docker/setup-buildx-action@v3
108108

109109
- name: Log in to Docker Hub
110110
if: github.event_name != 'pull_request'
111-
uses: podman/login-action@v3
111+
uses: docker/login-action@v3
112112
with:
113113
username: ${{ env.DOCKER_USERNAME }}
114114
password: ${{ secrets.DOCKERHUB_TOKEN }}
115115

116116
- name: Build Docker image
117-
uses: podman/build-push-action@v5
117+
uses: docker/build-push-action@v5
118118
with:
119119
context: .
120120
load: true
@@ -127,7 +127,7 @@ jobs:
127127
- name: Test container
128128
run: |
129129
# Start the container
130-
podman run -d --name test-container \
130+
docker run -d --name test-container \
131131
-e DATABASE_URL="sqlite+aiosqlite:///./test.db" \
132132
-e FAST_TEST_MODE=true \
133133
-e DEBUG=true \
@@ -148,7 +148,7 @@ jobs:
148148
fi
149149
if [ $i -eq 30 ]; then
150150
echo "Container failed to become healthy after 30 attempts"
151-
podman logs test-container
151+
docker logs test-container
152152
exit 1
153153
fi
154154
echo "Attempt $i failed, waiting 2 seconds..."
@@ -159,12 +159,12 @@ jobs:
159159
curl -f http://localhost:8000/api/health || exit 1
160160
161161
# Stop container
162-
podman stop test-container
163-
podman rm test-container
162+
docker stop test-container
163+
docker rm test-container
164164
165165
- name: Run tests in container
166166
run: |
167-
podman run --rm \
167+
docker run --rm \
168168
-e DATABASE_URL="sqlite+aiosqlite:///./test.db" \
169169
-e FAST_TEST_MODE=true \
170170
-e DEBUG=true \
@@ -178,7 +178,7 @@ jobs:
178178
179179
- name: Push Docker image
180180
if: github.event_name != 'pull_request'
181-
uses: podman/build-push-action@v5
181+
uses: docker/build-push-action@v5
182182
with:
183183
context: .
184184
push: true

0 commit comments

Comments
 (0)