Skip to content

Commit

Permalink
Add script for pushing to nuxt-preview frontend tag
Browse files Browse the repository at this point in the history
  • Loading branch information
sarayourfriend committed Apr 30, 2024
1 parent 2051936 commit 74f63c3
Showing 1 changed file with 7 additions and 0 deletions.
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

0 comments on commit 74f63c3

Please sign in to comment.