DBC22-940: added alt text for my location pin on map #211
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: Deploy main to dev | |
on: | |
push: | |
branches: [ "main" ] | |
workflow_dispatch: | |
jobs: | |
build-static: | |
runs-on: ubuntu-latest | |
name: Build & Deploy Docker Static images | |
environment: | |
name: dev | |
url: https://dev-drivebc.apps.silver.devops.gov.bc.ca | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: build static | |
uses: redhat-actions/buildah-build@v2 | |
with: | |
context: . | |
layers: true | |
image: dev-static | |
tags: latest ${{ github.sha }} | |
labels: | | |
app=dev-drivebc | |
containerfiles: ./compose/frontend/StaticBuild | |
build-args: | | |
API_HOST=${{ vars.API_HOST }} | |
BASE_MAP=${{ vars.BASE_MAP }} | |
MAP_STYLE=${{ vars.MAP_STYLE }} | |
HIGHWAY_LAYER=${{ vars.HIGHWAY_LAYER }} | |
OPEN511_LAYER=${{ vars.OPEN511_LAYER }} | |
REPLAY_THE_DAY=${{ vars.REPLAY_THE_DAY }} | |
ROUTE_PLANNER=${{ vars.ROUTE_PLANNER }} | |
ROUTE_PLANNER_KEY=${{ vars.ROUTE_PLANNER_KEY }} | |
GEOCODER_HOST=${{ vars.GEOCODER_HOST }} | |
GEOCODER_API_AUTH_KEY=${{ vars.GEOCODER_API_AUTH_KEY }} | |
DEBUG_BUILD=true | |
- name: push to registry | |
uses: redhat-actions/[email protected] | |
with: | |
image: dev-static | |
registry: ${{ secrets.REGISTRY }} | |
username: ${{ secrets.BUILDER_USERNAME }} | |
password: ${{ secrets.BUILDER_TOKEN }} | |
build-backend: | |
runs-on: ubuntu-latest | |
name: Build & Deploy Docker Backend images | |
environment: dev | |
steps: | |
- name: checkout code | |
uses: actions/checkout@v3 | |
- name: build backend | |
uses: redhat-actions/buildah-build@v2 | |
with: | |
image: dev-django | |
tags: latest ${{ github.sha }} | |
labels: | | |
app=dev-drivebc | |
containerfiles: ./compose/backend/Dockerfile | |
build-args: | |
DEBUG_BUILD=true | |
- name: push to registry | |
uses: redhat-actions/[email protected] | |
with: | |
image: dev-django | |
registry: ${{ secrets.REGISTRY }} | |
username: ${{ secrets.BUILDER_USERNAME }} | |
password: ${{ secrets.BUILDER_TOKEN }} |