Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementWalter committed Jul 13, 2023
1 parent deaf142 commit e9301af
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build and push

on:
push:
branches:
- "main"

jobs:
build_and_push:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/kkrt-labs/kakacet/backend:latest
context: ./backend
- name: Build and push
uses: docker/build-push-action@v4
with:
push: true
tags: ghcr.io/kkrt-labs/kakacet/frontend:latest
context: ./frontend

0 comments on commit e9301af

Please sign in to comment.