1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 06:28:14 -05:00

Test new syntax

This commit is contained in:
Vince Grassia 2024-05-23 16:27:03 -04:00
parent f3d59bd707
commit af0dc31fe3
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08

View File

@ -12,7 +12,7 @@ test:
build: build:
# Login to ACR # Login to ACR
az acr login -n bitwardenprod.azurecr.io az acr login -n bitwardenprod.azurecr.io
if `grep "pull" <<< "${GITHUB_REF}"`; then if `grep "pull"` <<< "${GITHUB_REF}"; then
IMAGE_TAG := `echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g"` IMAGE_TAG := `echo "${GITHUB_HEAD_REF}" | sed "s#/#-#g"`
else else
IMAGE_TAG := `echo "${GITHUB_REF:11}" | sed "s#/#-#g"` IMAGE_TAG := `echo "${GITHUB_REF:11}" | sed "s#/#-#g"`