Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

frontend finishes + agent examples #7

frontend finishes + agent examples

frontend finishes + agent examples #7

Workflow file for this run

name: Build Docker Image and Push to Docker Hub
on:
push:
branches:
- 'main'
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
uses: actions/checkout@v4
name: Checkout project
with:
fetch-depth: 2
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
target: web
push: true
tags: n3m6/web:latest
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
target: api
push: true
tags: n3m6/api:latest