Skip to content

Commit

Permalink
ci(docker): fix docker image tags (#2226)
Browse files Browse the repository at this point in the history
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **New Features**
- Enhanced Docker publishing workflow with new image tagging options for
various events such as scheduled triggers, branch updates, tag releases,
and pull requests.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
  • Loading branch information
njzjz committed May 9, 2024
1 parent 9a993d0 commit c2f435a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
tags: |
type=raw,value=latest,enable={{is_default_branch}}
type=schedule
type=ref,event=branch
type=ref,event=tag
type=ref,event=pr
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
Expand Down

0 comments on commit c2f435a

Please sign in to comment.