Skip to content

ci: update workflow and add Dockerfile for improved build process #24

ci: update workflow and add Dockerfile for improved build process

ci: update workflow and add Dockerfile for improved build process #24

Workflow file for this run

name: CI
on:
push:
branches:
- staging
permissions:
packages: write
contents: read
env:
API_URL: https://api.tracuusaoke.org
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: .
push: true
tags: ghcr.io/tracuusaoke/frontend:latest