mirror of
https://github.com/dockersrc/debian
synced 2026-01-17 08:03:17 -05:00
Dockerfile Dockerfile.10 Dockerfile.11 Dockerfile.12 Dockerfile.13 dockerfs/ .gitea/workflows/docker.10.yaml .gitea/workflows/docker.11.yaml .gitea/workflows/docker.12.yaml .gitea/workflows/docker.13.yaml .gitea/workflows/docker.yaml .github/ README.md rootfs/root/docker/setup/00-init.sh rootfs/root/docker/setup/01-system.sh rootfs/root/docker/setup/02-packages.sh rootfs/root/docker/setup/03-files.sh rootfs/root/docker/setup/04-users.sh rootfs/root/docker/setup/05-custom.sh rootfs/root/docker/setup/06-post.sh rootfs/root/docker/setup/07-cleanup.sh rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/bin/pkmgr rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/00-directory.sh rootfs/usr/local/share/template-files/config/env/examples/addresses.sh rootfs/usr/local/share/template-files/config/env/examples/certbot.sh rootfs/usr/local/share/template-files/config/env/examples/couchdb.sh rootfs/usr/local/share/template-files/config/env/examples/dockerd.sh rootfs/usr/local/share/template-files/config/env/examples/global.sh rootfs/usr/local/share/template-files/config/env/examples/healthcheck.sh rootfs/usr/local/share/template-files/config/env/examples/mariadb.sh rootfs/usr/local/share/template-files/config/env/examples/mongodb.sh rootfs/usr/local/share/template-files/config/env/examples/networking.sh rootfs/usr/local/share/template-files/config/env/examples/other.sh rootfs/usr/local/share/template-files/config/env/examples/php.sh rootfs/usr/local/share/template-files/config/env/examples/postgres.sh rootfs/usr/local/share/template-files/config/env/examples/redis.sh rootfs/usr/local/share/template-files/config/env/examples/services.sh rootfs/usr/local/share/template-files/config/env/examples/ssl.sh rootfs/usr/local/share/template-files/config/env/examples/supabase.sh rootfs/usr/local/share/template-files/config/env/examples/webservers.sh rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh rootfs/usr/local/share/template-files/config/.gitkeep rootfs/usr/local/share/template-files/data/.gitkeep rootfs/usr/local/share/template-files/defaults/.gitkeep
86 lines
2.8 KiB
YAML
86 lines
2.8 KiB
YAML
name: debian-11
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- master
|
|
pull_request:
|
|
schedule:
|
|
- cron: '0 2 2 * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build-and-push:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
packages: write
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Get Meta
|
|
id: meta
|
|
run: |
|
|
echo "BUILD_DATE=$(date +'%Y%m%d%H%M')" >> $GITHUB_OUTPUT
|
|
echo "DATE_TAG=$(date +'%y%m')" >> $GITHUB_OUTPUT
|
|
|
|
- name: Login to GitHub Container Registry
|
|
uses: docker/login-action@v3
|
|
with:
|
|
registry: ghcr.io
|
|
username: ${{ github.actor }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile.11
|
|
platforms: |
|
|
linux/amd64
|
|
linux/arm64
|
|
push: ${{ github.event_name != 'pull_request' }}
|
|
provenance: false
|
|
build-args: |
|
|
IMAGE_NAME=debian
|
|
IMAGE_VERSION=bullseye
|
|
IMAGE_REPO=${{ github.repository }}
|
|
PHP_SERVER=debian
|
|
BUILD_DATE=${{ steps.meta.outputs.BUILD_DATE }}
|
|
BUILD_VERSION=${{ steps.meta.outputs.BUILD_DATE }}
|
|
PULL_URL=debian
|
|
DISTRO_VERSION=${IMAGE_VERSION}
|
|
CONTAINER_VERSION=11
|
|
TIMEZONE=America/New_York
|
|
LANGUAGE=en_US.UTF-8
|
|
PHP_VERSION=system
|
|
NODE_VERSION=system
|
|
NODE_MANAGER=system
|
|
SERVICE_PORT=
|
|
EXPOSE_PORTS=
|
|
WWW_ROOT_DIR=/usr/local/share/httpd/default
|
|
DEFAULT_FILE_DIR=/usr/local/share/template-files
|
|
DEFAULT_DATA_DIR=/usr/local/share/template-files/data
|
|
DEFAULT_CONF_DIR=/usr/local/share/template-files/config
|
|
DEFAULT_TEMPLATE_DIR=/usr/local/share/template-files/defaults
|
|
annotations: |
|
|
org.opencontainers.image.title=${{ github.repository }}
|
|
org.opencontainers.image.description=Containerized version of ${{ github.repository }}
|
|
org.opencontainers.image.vendor=CasjaysDev
|
|
org.opencontainers.image.authors=CasjaysDev <docker-admin@casjaysdev.pro>
|
|
org.opencontainers.image.url=https://github.com/${{ github.repository }}
|
|
org.opencontainers.image.source=https://github.com/${{ github.repository }}
|
|
org.opencontainers.image.version=bullseye
|
|
org.opencontainers.image.revision=${{ github.sha }}
|
|
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
|
|
tags: |
|
|
ghcr.io/${{ github.repository }}:bullseye
|