core/.github/workflows/build-docker-image.yml
Harshith Mullapudi 6d850f3d89 feat: space v3
2025-10-29 16:16:27 +05:30

35 lines
807 B
YAML

name: Build Docker Images
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
build-webapp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to Docker Registry
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin
- name: Build and Push Frontend Docker Image
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: redplanethq/core:${{ github.ref_name }}