Skip to content

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

Add frontend to the nginx image tagging (#3260)

Olga Bulat41f1e5f96a22
diff --git a/.github/workflows/release-app.yml b/.github/workflows/release-app.yml
index ade2fea66..6d3b3ab2e 100644
--- a/.github/workflows/release-app.yml
+++ b/.github/workflows/release-app.yml
@@ -92,8 +92,8 @@ jobs:
run: |
docker buildx imagetools create ghcr.io/wordpress/openverse-${{ inputs.app }}:${{ inputs.image-sha }} --tag ghcr.io/wordpress/openverse-${{ inputs.app }}:${{ steps.tag.outputs.image-tag }}
- if [ "${{ inputs.app }}" = "api" ]; then
- docker buildx imagetools create ghcr.io/wordpress/openverse-api_nginx:${{ inputs.image-sha }} --tag ghcr.io/wordpress/openverse-api_nginx:${{ steps.tag.outputs.image-tag }}
+ if [[ "${{ inputs.app }}" == "api" ]] || [[ "${{ inputs.app }}" == "frontend" ]]; then
+ docker buildx imagetools create ghcr.io/wordpress/openverse-${{ inputs.app }}_nginx:${{ inputs.image-sha }} --tag ghcr.io/wordpress/openverse-${{ inputs.app }}_nginx:${{ steps.tag.outputs.image-tag }}
fi
- name: Deploy production application