Skip to content

Commit

Permalink
ci(docker-compose): delay before recreating the release again
Browse files Browse the repository at this point in the history
  • Loading branch information
aabouzaid committed Jan 22, 2025
1 parent df7e2b2 commit 84f9f88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/docker-compose-release-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ jobs:
run: |
gh release list | tee | grep "${{ env.DOCKER_COMPOSE_NAME }}" &&
gh release delete ${{ env.DOCKER_COMPOSE_NAME }} --cleanup-tag
# To avoid race condition when the release is created again.
sleep 5
- name: Create git tag
run: |
git tag ${{ env.DOCKER_COMPOSE_NAME }}
Expand All @@ -102,6 +104,7 @@ jobs:
name: ${{ env.DOCKER_COMPOSE_NAME }}
tag_name: ${{ env.DOCKER_COMPOSE_NAME }}
body_path: RELEASE-NOTES.md
draft: false
files: |
${{ env.DOCKER_COMPOSE_NAME }}.zip
${{ env.DOCKER_COMPOSE_NAME }}.cosign.bundle
Expand Down

0 comments on commit 84f9f88

Please sign in to comment.