Skip to content

Update main.component.ts #8

Update main.component.ts

Update main.component.ts #8

Workflow file for this run

name: Frontend to docker
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }} # checkout the correct branch name
fetch-depth: 0 # fetch the whole repo history
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: Dockerfile
pull: true
push: true
cache-from: type=registry,ref=enes1/komikaan-webapp:latest
cache-to: type=inline
tags: enes1/komikaan-webapp:latest