27 lines
595 B
YAML
27 lines
595 B
YAML
|
name: Server
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- master
|
||
|
paths-ignore:
|
||
|
- 'Pal.Client/**'
|
||
|
permissions:
|
||
|
packages: write
|
||
|
jobs:
|
||
|
build:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
|
||
|
- name: Login to GitHub Package Registry
|
||
|
uses: docker/login-action@v1
|
||
|
with:
|
||
|
registry: ghcr.io
|
||
|
username: ${{ github.repository_owner }}
|
||
|
password: ${{ secrets.GITHUB_TOKEN }}
|
||
|
|
||
|
- name: Build and push
|
||
|
uses: docker/build-push-action@v4
|
||
|
with:
|
||
|
push: true
|
||
|
tags: ghcr.io/${{ github.repository_owner }}/palace-pal:latest
|