Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Remove ternary from ghcr.yml (#1452)

sarayourfriend3f956c45e276
diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml
index d9383398d..7a5ff08bb 100644
--- a/.github/workflows/ghcr.yml
+++ b/.github/workflows/ghcr.yml
@@ -34,7 +34,7 @@ jobs:
tags: |
type=sha
type=ref,event=tag
- ${{ github.event_name == 'push' ? 'type=raw,value=main' : '' }}
+ ${{ github.event_name == 'push' && 'type=raw,value=main' || '' }}
- uses: docker/build-push-action@v2
with: