Skip to content

Commit

Permalink
Add frontend to the nginx image tagging (#3260)
Browse files Browse the repository at this point in the history
* Add frontend to the nginx tagging

* Update .github/workflows/release-app.yml

Co-authored-by: sarayourfriend <[email protected]>

* Revert "Update .github/workflows/release-app.yml"

This reverts commit 25c4045.

---------

Co-authored-by: sarayourfriend <[email protected]>
  • Loading branch information
obulat and sarayourfriend authored Oct 30, 2023
1 parent 964c5cc commit 41f1e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 41f1e5f

Please sign in to comment.