Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Merge branch 'main' of https://github.com/HutechCJ/ProfioApp #7

Merge branch 'main' of https://github.com/HutechCJ/ProfioApp

Merge branch 'main' of https://github.com/HutechCJ/ProfioApp #7

Workflow file for this run

name: Publish CMS
on:
push:
branches:
- main
- stg
paths:
- 'apps/cms/**'
- '.github/workflows/cms.yml'
pull_request:
branches: [ stg ]
permissions: read-all
jobs:
build-docker:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.TOKEN }}
- name: Build the cms image
run: |
docker build -f apps/cms/Dockerfile . --tag ghcr.io/hutechcj/profio-cms:latest
docker push ghcr.io/hutechcj/profio-cms:latest