37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
name: Publish Tabler Docker image
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- tabler
|
|
|
|
jobs:
|
|
build-and-push-tabler:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Log in to Gitea Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: git.shts.su
|
|
username: ${{ gitea.actor }}
|
|
password: ${{ secrets.ACTIONS_PAT }}
|
|
|
|
- name: Build and push Tabler Docker image
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
push: true
|
|
platforms: linux/amd64
|
|
tags: |
|
|
git.shts.su/${{ gitea.repository }}:tabler
|
|
git.shts.su/${{ gitea.repository }}:tabler-${{ gitea.sha }}
|
|
labels: |
|
|
org.opencontainers.image.title=S3 Lists Manager with Tabler UI
|
|
org.opencontainers.image.description=Modern S3 Lists Manager with Tabler UI design
|
|
org.opencontainers.image.version=tabler
|
|
org.opencontainers.image.revision=${{ gitea.sha }}
|
|
org.opencontainers.image.created=${{ gitea.event.head_commit.timestamp }} |