2022-07-18 16:20:03 +00:00
|
|
|
name: Build and publish Docker image
|
2022-02-04 16:28:33 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- 'master'
|
|
|
|
- 'epic/**'
|
|
|
|
pull_request:
|
2022-02-24 09:36:27 +00:00
|
|
|
branches: ['**']
|
2022-02-04 16:28:33 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
REGISTRY: ghcr.io
|
|
|
|
|
|
|
|
jobs:
|
2022-07-18 16:20:03 +00:00
|
|
|
build-push:
|
2022-02-04 16:28:33 +00:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-07-18 16:20:03 +00:00
|
|
|
- uses: valitydev/action-deploy-docker@v2
|
2022-02-04 16:28:33 +00:00
|
|
|
with:
|
2022-07-18 16:20:03 +00:00
|
|
|
registry-username: ${{ github.actor }}
|
|
|
|
registry-access-token: ${{ secrets.GITHUB_TOKEN }}
|