mirror of
https://github.com/Luzifer/ots.git
synced 2024-12-18 12:04:35 -05:00
dd40078301
Signed-off-by: Knut Ahlers <knut@ahlers.me>
37 lines
603 B
YAML
37 lines
603 B
YAML
---
|
|
|
|
name: docker-publish
|
|
on:
|
|
push:
|
|
branches: ['master']
|
|
tags: ['v*']
|
|
|
|
permissions:
|
|
packages: write
|
|
|
|
jobs:
|
|
docker-publish:
|
|
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
|
|
|
|
...
|