Skip to content

Commit

Permalink
Add stage build (for now, will be removed later)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhanninen committed Oct 21, 2024
1 parent c00de5f commit cf06919
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/deploy_prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: master
- name: Build UI and publish Docker image
- name: Build UI and publish prod Docker image
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: hsldevcom/jore-map-ui
Expand All @@ -25,3 +25,13 @@ jobs:
tags: production
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build UI and publish stage Docker image
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: hsldevcom/jore-map-ui
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
buildargs: APP_ENVIRONMENT=stage, APP_REACT_APP_DIGITRANSIT_API_KEY=${{ secrets.JOREMAPUI_DIGITRANSITAPIKEY_PROD }}, APP_DOMAIN_NAME=${{ secrets.APP_DOMAIN_STAGE }}, APP_BUILD_DATE=${{ steps.date.outputs.date }}
tags: production
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit cf06919

Please sign in to comment.