Skip to content

added dockerfile and load apiurl from env into config.js #1

added dockerfile and load apiurl from env into config.js

added dockerfile and load apiurl from env into config.js #1

Workflow file for this run

name: Build and Push Docker Image
on:
push:
tags:
- 'v*.*.*' # Triggers on version tags
workflow_dispatch: # Allows manual triggering
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker Image
run: |
docker build -t ghcr.io/toomanyfiles/tmf-timetable-frontend .
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push Docker Image
run: |
docker push ghcr.io/toomanyfiles/tmf-timetable-frontend