Skip to content

Commit

Permalink
Added frontend build github action
Browse files Browse the repository at this point in the history
  • Loading branch information
EehMauro committed Oct 22, 2024
1 parent f389db1 commit e957b0c
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Frontend

on:
workflow_dispatch: {}
push:
branches:
- "main"
paths:
- ".github/workflows/frontend.yml"
- "frontend/*"
- "godot-visualizer/*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: docker/Dockerfile.frontend
platforms: linux/amd64
push: true
tags: ghcr.io/txpipe/asteria-frontend:${{ github.sha }}

0 comments on commit e957b0c

Please sign in to comment.