1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

Fix broken image tagging on build-web (#13514)

* updating logic to include pull requests
This commit is contained in:
Amy Galles
2025-02-21 14:02:46 -08:00
committed by GitHub
parent 78202e14ae
commit 9dd2033081

View File

@@ -251,7 +251,7 @@ jobs:
- name: Generate Docker image tag
id: tag
run: |
if [[ "${GITHUB_EVENT_NAME}" == "pull_request_target" ]]; then
if [[ "${GITHUB_EVENT_NAME}" == "pull_request" ]]; then
IMAGE_TAG=$(echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g")
else
IMAGE_TAG=$(echo "${GITHUB_REF_NAME}" | sed "s#/#-#g")