update frontend port #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and push to registry | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to AppVenture registry | |
uses: docker/login-action@v3 | |
with: | |
registry: registry.nush.app | |
username: ${{ secrets.DOCKER_USERNAME }} | |
password: ${{ secrets.DOCKER_PASSWORD }} | |
- name: Push image to AppVenture registry | |
uses: docker/build-push-action@v5 | |
with: | |
context: frontend | |
push: true | |
build-args: | | |
BACKEND_URL=https://excite-api.nush.app | |
tags: registry.nush.app/excite:frontend | |
- name: Push image to AppVenture registry | |
uses: docker/build-push-action@v5 | |
with: | |
context: backend | |
push: true | |
tags: registry.nush.app/excite:backend |