PalacePal/.github/workflows/server.yml

31 lines
679 B
YAML
Raw Normal View History

2023-02-12 21:45:57 +00:00
name: docker build
2023-02-09 21:07:09 +00:00
on:
push:
branches:
- master
2023-02-10 20:07:39 +00:00
paths:
2023-02-12 21:45:57 +00:00
- '.github/workflows/server.yml'
2023-02-10 20:07:39 +00:00
- 'Pal.Common/**'
- 'Pal.Server/**'
2023-02-12 21:45:57 +00:00
- 'Dockerfile'
2023-02-09 21:07:09 +00:00
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
2023-02-12 21:24:22 +00:00
tags: ghcr.io/${{ github.repository_owner }}/palace-pal:latest