diff --git a/.github/workflows/ioc-images.yml b/.github/workflows/ioc-images.yml index cdc4c22..1dd3a74 100644 --- a/.github/workflows/ioc-images.yml +++ b/.github/workflows/ioc-images.yml @@ -11,7 +11,7 @@ jobs: env: REGISTRY: ghcr.io/${{ github.repository_owner }} SOURCE: https://github.com/${{ github.repository }} - TAG: ${{ github.ref_name }} + TAG: ${{ github.event_name == 'push' && github.ref_name || github.head_ref }} steps: - uses: actions/checkout@v4 with: