name: Docker CI (Debian 13)

on:
  push:
    branches: [ "main" ]
  workflow_dispatch:

jobs:
  build:
    runs-on: name: Docker CI (Debian 13)

on:
  push:
    branches: [ "main" ]
  workflow_dispatch:

jobs:
  build:
    runs-on: debian-13

    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Show OS
        run: cat /etc/os-release

      - name: Docker info
        run: docker version

      - name: Build Docker image
        run: |
          docker build \
            -t gitea.maison43.local/${{ gitea.repository }}:latest \
            .


    steps:
      - name: Checkout repository
        uses: actions/checkout@v4

      - name: Show OS
        run: cat /etc/os-release

      - name: Docker info
        run: docker version

      - name: Build Docker image
        run: |
          docker build \
            -t gitea.maison43.local/${{ gitea.repository }}:latest \
            .
