mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +00:00
Knut Ahlers
6c941fb330
from one file per job through script Signed-off-by: Knut Ahlers <knut@ahlers.me>
28 lines
504 B
YAML
28 lines
504 B
YAML
---
|
|
|
|
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/master' }}
|
|
needs: [test]
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
lfs: true
|
|
show-progress: false
|
|
|
|
- name: Log into registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Docker Build & Publish
|
|
run: bash ci/docker-publish.sh
|
|
|
|
...
|