2024-11-22 21:25:20 -05:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
|
|
|
- name: Login to git.kakio.us
|
|
|
|
uses: docker/login-action@v3.3.0
|
|
|
|
with:
|
|
|
|
registry: git.kakio.us
|
|
|
|
username: kakious
|
|
|
|
password: ${{ secrets.REPO_PUSH }}
|
|
|
|
|
|
|
|
- name: Build and push frontend
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
2024-11-23 01:06:37 -05:00
|
|
|
context: ./apps/frontend/
|
|
|
|
file: Dockerfile
|
2024-11-22 21:25:20 -05:00
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
push: true
|
|
|
|
tags: |
|
|
|
|
git.kakio.us/kakious/authcore-frontend:latest
|
|
|
|
git.kakio.us/kakious/authcore-frontend:${{ github.sha }}
|
|
|
|
|
|
|
|
- name: Build and push backend
|
|
|
|
uses: docker/build-push-action@v2
|
|
|
|
with:
|
2024-11-23 01:06:37 -05:00
|
|
|
context: ./apps/backend/
|
|
|
|
file: Dockerfile
|
2024-11-22 21:25:20 -05:00
|
|
|
platforms: linux/amd64,linux/arm64
|
|
|
|
push: true
|
|
|
|
tags: |
|
|
|
|
git.kakio.us/kakious/authcore-backend:latest
|
|
|
|
git.kakio.us/kakious/authcore-backend:${{ github.sha }}
|