Rename ai-tools-utils to python-tools
Build custom container images / build (map[base_image:php:8-fpm-alpine build_args:PHP_VERSION=8 context:php8-pgsql fingerprint_command:{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; } name:ph… (push) Successful in 1m8s
Build custom container images / build (map[base_image:postgres:18 build_args:PG_VERSION=18 POSTGIS_VERSION=3 VCHORD_VERSION=0.5.3 context:postgres fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256su… (push) Successful in 1m54s
Build custom container images / build (map[base_image:python:3 build_args:PYTHON_VERSION=3 context:python-tools fingerprint_command:dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort name:python-tools primary_tag:git.ajpanton.se/ajp_anton/python-tools:3 tags:git.ajpa… (push) Successful in 1m39s

This commit is contained in:
ajp_anton
2026-07-16 01:00:05 +00:00
parent 19456c6467
commit 1319c71740
4 changed files with 103 additions and 18 deletions
+25 -11
View File
@@ -29,6 +29,8 @@ jobs:
image:
- name: postgres-custom
context: postgres
base_image: postgres:18
primary_tag: git.ajpanton.se/ajp_anton/postgres-custom:18
tags: |
git.ajpanton.se/ajp_anton/postgres-custom:18
git.ajpanton.se/ajp_anton/postgres-custom:18-postgis3-vchord0.5.3
@@ -37,21 +39,31 @@ jobs:
PG_VERSION=18
POSTGIS_VERSION=3
VCHORD_VERSION=0.5.3
fingerprint_command: |
{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256sum {} + | LC_ALL=C sort; }
- name: php8-pgsql
context: php8-pgsql
base_image: php:8-fpm-alpine
primary_tag: git.ajpanton.se/ajp_anton/php8-pgsql:8
tags: |
git.ajpanton.se/ajp_anton/php8-pgsql:8
git.ajpanton.se/ajp_anton/php8-pgsql:8-fpm-alpine
git.ajpanton.se/ajp_anton/php8-pgsql:latest
build_args: |
PHP_VERSION=8
- name: ai-tools-utils
context: ai-tools-utils
fingerprint_command: |
{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; }
- name: python-tools
context: python-tools
base_image: python:3
primary_tag: git.ajpanton.se/ajp_anton/python-tools:3
tags: |
git.ajpanton.se/ajp_anton/ai-tools-utils:3
git.ajpanton.se/ajp_anton/ai-tools-utils:latest
git.ajpanton.se/ajp_anton/python-tools:3
git.ajpanton.se/ajp_anton/python-tools:latest
build_args: |
PYTHON_VERSION=3
fingerprint_command: |
dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort
steps:
- name: Check out repository
@@ -65,10 +77,12 @@ jobs:
printf '%s' "$REGISTRY_TOKEN" | docker login "$REGISTRY" --username "$REGISTRY_USERNAME" --password-stdin
- name: Build and push ${{ matrix.image.name }}
uses: docker/build-push-action@v6
with:
context: ./${{ matrix.image.context }}
push: true
tags: ${{ matrix.image.tags }}
build-args: ${{ matrix.image.build_args }}
pull: true
env:
IMAGE_NAME: ${{ matrix.image.name }}
BUILD_CONTEXT: ${{ matrix.image.context }}
BASE_IMAGE: ${{ matrix.image.base_image }}
PRIMARY_TAG: ${{ matrix.image.primary_tag }}
TAGS: ${{ matrix.image.tags }}
BUILD_ARGS: ${{ matrix.image.build_args }}
FINGERPRINT_COMMAND: ${{ matrix.image.fingerprint_command }}
run: ./scripts/build-image-if-changed.sh