Skip to content

Commit

Permalink
Add changes from #4227
Browse files Browse the repository at this point in the history
Signed-off-by: Olga Bulat <[email protected]>
  • Loading branch information
obulat committed May 13, 2024
1 parent dc67333 commit df4ac87
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions frontend/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ run-img tag="openverse-frontend:local":
--publish 8443:8443 \
{{ tag }}

# Build and push frontend images to `nuxt-preview` tag. Part of temporary utilities for Nuxt 3 iteration. You must `docker login ghcr.io` beforehand.
push-to-nuxt-preview github_username:
just build-img ghcr.io/wordpress/openverse-frontend:nuxt-preview
docker build -t ghcr.io/wordpress/openverse-frontend_nginx:nuxt-preview -f ./Dockerfile.nginx .
docker push ghcr.io/wordpress/openverse-frontend:nuxt-preview
docker push ghcr.io/wordpress/openverse-frontend_nginx:nuxt-preview
gh workflow run -R WordPress/openverse-infrastructure 'Deployment - staging-nuxt-preview' -f tag=nuxt-preview

######
# Up #
######
Expand Down

0 comments on commit df4ac87

Please sign in to comment.