Frontend Docker Build And Push #175
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: 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 |