diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 9ec5b9d9..35b8e7be 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -38,6 +38,9 @@ jobs: if [[ -z "$SOURCE_TAG" ]]; then SOURCE_TAG="${{ github.ref_name }}" fi + if [[ -z "$SOURCE_TAG" ]]; then + SOURCE_TAG="${{ github.event.release.tag_name }}" + fi if [[ -z "$SOURCE_TAG" ]]; then echo "Error: Could not determine a valid tag source. Input tag and context tag (github.ref_name) are both empty."