Skip to content

Update GitHub Actions sync workflow to clone repository without mirro… #103

Update GitHub Actions sync workflow to clone repository without mirro…

Update GitHub Actions sync workflow to clone repository without mirro… #103

Workflow file for this run

#################################
# @author K10s Open Source Team #
# @since 01/01/2025 #
#################################
name: Build and Push Docker Image to GHCR
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-push-backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to GHCR
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u eliasdehondt --password-stdin
- name: Build/Push Backend Docker Image
run: |
docker build --push -t ghcr.io/eliasdehondt/k10s-backend:latest ./App/Backend
build-push-frontend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Login to GHCR
run: |
echo "${{ secrets.GHCR_TOKEN }}" | docker login ghcr.io -u eliasdehondt --password-stdin
- name: Build/Push Frontend Docker Image
run: |
docker build --push -t ghcr.io/eliasdehondt/k10s-frontend:latest ./App/Frontend