We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9be750 commit 6c0f286Copy full SHA for 6c0f286
.github/workflows/push-docker-image.yml
@@ -38,11 +38,13 @@ jobs:
38
- name: Build Docker Image
39
run: |
40
docker build -t awesome-fastapi:${{ github.sha }} .
41
- docker run -d -p 8080:8080 awesome-fastapi:${{ github.sha }}
+
42
43
- - name: Docker inspect
44
- run: |
45
- docker inspect ghcr.io/${{ env.IMAGE_NAME }}
+ - name: Wait for Docker container to be ready
+ run: sleep 30
46
+ - name: Confirm Docker container is running
47
+ run: docker ps
48
49
# Push the Docker image to the registry
50
- name: Push Docker Image to GHCR
0 commit comments