Skip to content

Frontend Docker Build And Push #175

Frontend Docker Build And Push

Frontend Docker Build And Push #175

name: Frontend Docker Build And Push
on:
workflow_dispatch:
# Left blank intentionally
jobs:
on-success:
runs-on: ubuntu-latest
steps:
- name: Setup QEMU
uses: docker/setup-qemu-action@v2
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login To DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v4
- name: Build And Push
uses: docker/build-push-action@v4
with:
context: ./src/frontend
file: ./src/frontend/Dockerfile
push: true
tags: maplefighters/frontend:2.0.0
platforms: linux/amd64,linux/arm64/v8