Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script for pushing to nuxt-preview frontend tag #4227

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions frontend/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ 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

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