Skip to content

Workflow file for this run

name: Frontend Docker Images
on:
push:
branches:
- main
paths:
- 'frontend/**'
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Check Out Repo
uses: actions/checkout@v2
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Build and Push web Image
uses: docker/build-push-action@v2
with:
context: ./frontend
file: ./frontend/dockerfile.frontend
push: true
tags: 14790897/frontend-handwriting:latest