Skip to content

Commit 533dcad

Browse files
committed
used the image name from earlier jobs
1 parent 74b85b7 commit 533dcad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/push-docker-image.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333
# Build Docker Image
3434
- name: Build Docker Image
3535
run: |
36-
docker build -t awesome-fastapi:${{ github.sha }} .
36+
docker build -t ghcr.io/${{ env.IMAGE_NAME }}:${{ github.sha }} .
3737
3838
3939
- name: Wait for Docker container to be ready
40-
run: sleep 10
40+
run: sleep 30
4141

4242
- name: Confirm Docker container is running
4343
run: docker ps

0 commit comments

Comments
 (0)