Compare commits

..

23 Commits

Author SHA1 Message Date
00a08efad1 Merge pull request 'chore(deps): update actions/checkout action to v4.3.0' (#69) from renovate/actions into master
All checks were successful
Build / build-amd64 (push) Successful in 16s
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-arm64 (push) Successful in 49s
2025-08-11 14:11:11 +00:00
0dc401687d chore(deps): update actions/checkout action to v4.3.0
All checks were successful
Build / build-amd64 (pull_request) Successful in 17s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Successful in 50s
2025-08-11 13:17:07 +00:00
5ecc69f268 Merge pull request 'chore(deps): update docker/login-action action to v3.5.0' (#68) from renovate/actions into master
All checks were successful
Build / build-arm64 (push) Successful in 50s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 49s
2025-08-04 20:14:03 +00:00
2167179e19 chore(deps): update docker/login-action action to v3.5.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 54s
Lint Markdown files / markdown-lint (pull_request) Successful in 11s
Build / build-amd64 (pull_request) Successful in 1m0s
2025-08-04 16:10:37 +00:00
0ecf5f84a0 chore(deps): update docker.io/library/alpine docker tag to v3.22.1
All checks were successful
Build / build-amd64 (pull_request) Successful in 44s
Build / build-arm64 (pull_request) Successful in 53s
Lint Markdown files / markdown-lint (pull_request) Successful in 13s
Build / build-arm64 (push) Successful in 50s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 1m0s
2025-07-15 22:08:06 +00:00
96a009978a chore(deps): update docker/setup-buildx-action action to v3.11.1
All checks were successful
Build / build-arm64 (pull_request) Successful in 54s
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Build / build-amd64 (pull_request) Successful in 59s
Build / build-arm64 (push) Successful in 1m10s
Lint Markdown files / markdown-lint (push) Successful in 11s
Build / build-amd64 (push) Successful in 19s
2025-06-18 10:12:23 +00:00
d4ab3ddae4 chore(deps): update docker/setup-buildx-action action to v3.11.0
All checks were successful
Build / build-arm64 (pull_request) Successful in 51s
Lint Markdown files / markdown-lint (pull_request) Successful in 10s
Build / build-amd64 (pull_request) Successful in 58s
Build / build-arm64 (push) Successful in 49s
Lint Markdown files / markdown-lint (push) Successful in 10s
Build / build-amd64 (push) Successful in 1m2s
2025-06-16 13:11:21 +00:00
ae8f290a23 chore(deps): update docker.io/library/alpine docker tag to v3.22.0
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 5s
Build / build-amd64 (push) Successful in 59s
Build / build-arm64 (push) Successful in 1m12s
2025-05-31 12:21:51 +00:00
a2b37d6c68 chore(deps): update davidanson/markdownlint-cli2-action action to v20
Some checks are pending
Build / build-amd64 (pull_request) Successful in 16s
Lint Markdown files / markdown-lint (pull_request) Successful in 14s
Build / build-arm64 (pull_request) Successful in 1m12s
Build / build-arm64 (push) Waiting to run
Build / build-amd64 (push) Successful in 16s
Lint Markdown files / markdown-lint (push) Successful in 3s
2025-05-31 12:12:14 +00:00
65e051c41d docs(README): adapt documentation to be compliant with markdownlint
All checks were successful
Build / build-amd64 (push) Successful in 17s
Lint Markdown files / markdown-lint (push) Successful in 4s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 4s
Build / build-arm64 (push) Successful in 1m12s
2025-05-31 13:40:27 +02:00
9af41a105c fix(Makefile): get rid of unqualified container images
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 4s
Build / build-amd64 (push) Successful in 51s
Build / build-arm64 (push) Successful in 1m9s
2025-05-12 22:47:19 +02:00
77b25f9b59 docs(README): add example
All checks were successful
Lint Markdown files / markdown-lint (push) Successful in 13s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 7s
Build / build-amd64 (push) Successful in 49s
Build / build-arm64 (push) Successful in 1m12s
2025-05-12 22:24:22 +02:00
7d7e755995 docs(README): migrate from docker.io to git.cryptic.systems
All checks were successful
Build / build-arm64 (push) Successful in 1m10s
Build / build-amd64 (push) Successful in 58s
Lint Markdown files / markdown-lint (push) Successful in 25s
Update Docker Hub Description / update-description-on-hub-docker-io (push) Successful in 15s
2025-05-12 18:19:07 +02:00
3ce61946e6 style(markdownlint): update configuration 2025-05-09 11:27:49 +02:00
fbb8c51189 docs(README): remove drone badge 2025-05-08 21:47:23 +02:00
16983014ec fix(makefile): remove the deletion of the base image via make clean 2025-05-08 18:44:04 +02:00
c6f63d4dba fix(makefile): remove unqualified image name 2025-05-08 18:41:36 +02:00
c5796a8078 docs: typo 2025-05-07 17:10:42 +02:00
51f3cd14a3 chore(ci): use upstream container image registry
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-02 21:31:53 +02:00
b8ad30f9e3 chore(ci): rollback plugins/docker to 20.18.6
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-02 10:43:47 +02:00
9cd8351dd9 chore(ci): use container image mirror
Some checks failed
continuous-integration/drone/push Build is failing
2025-04-02 09:54:25 +02:00
10db15945c chore(deps): update git.cryptic.systems/volker.raschek/markdownlint docker tag to v0.44.0
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2025-04-01 19:27:16 +00:00
e7ea62257f fix(Makefile): make FQIN configurable
All checks were successful
continuous-integration/drone/push Build is passing
2025-04-01 20:45:59 +02:00
10 changed files with 222 additions and 716 deletions

View File

@ -1,670 +0,0 @@
---
kind: pipeline
type: kubernetes
name: linter
clone:
disable: true
platform:
os: linux
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
resources:
limits:
cpu: 150
memory: 150M
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
exclude:
- tag
---
kind: pipeline
type: docker
name: dry-run-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: docker
name: dry-run-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: docker
name: latest-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
tags: latest-amd64
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: docker
name: latest-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
tags: latest-arm64-v8
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: kubernetes
name: latest-manifest
clone:
disable: true
depends_on:
- latest-amd64
- latest-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: false
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: kubernetes
name: latest-sync
clone:
disable: true
depends_on:
- latest-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: latest-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/jq docker.io/volkerraschek
environment:
SRC_CRED_USERNAME:
from_secret: git_cryptic_systems_container_registry_user
SRC_CRED_PASSWORD:
from_secret: git_cryptic_systems_container_registry_password
DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.18.0
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: docker
name: tagged-amd64
clone:
disable: true
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: true
auto_tag_suffix: amd64
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- JQ_VERSION=${DRONE_TAG}
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: docker
name: tagged-arm64-v8
clone:
disable: true
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build
image: docker.io/plugins/docker:20.18.8
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/jq
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- JQ_VERSION=${DRONE_TAG}
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: kubernetes
name: tagged-manifest
clone:
disable: true
depends_on:
- tagged-amd64
- tagged-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available
node_selector:
kubernetes.io/os: linux
kubernetes.io/arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: build-manifest
image: docker.io/plugins/manifest:1.4.0
settings:
auto_tag: true
ignore_missing: true
spec: manifest.tmpl
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/jq-docker
---
kind: pipeline
type: kubernetes
name: tagged-sync
clone:
disable: true
depends_on:
- tagged-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.4.0
- name: tagged-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/jq docker.io/volkerraschek
environment:
SRC_CRED_USERNAME:
from_secret: git_cryptic_systems_container_registry_user
SRC_CRED_PASSWORD:
from_secret: git_cryptic_systems_container_registry_password
DEST_CRED_USERNAME:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.18.0
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
resources:
limits:
cpu: 150
memory: 150M
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/jq-docker

View File

@ -0,0 +1,49 @@
name: Build
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
build-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1
- name: Build image
run: |
TAG=latest
docker buildx build \
--platform linux/arm64 \
--file Dockerfile \
--provenance false \
--tag git.cryptic.systems/volker.raschek/jq:${TAG}-arm64 \
.
build-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1
- name: Build image
run: |
TAG=latest
docker buildx build \
--platform linux/amd64 \
--file Dockerfile \
--provenance false \
--tag git.cryptic.systems/volker.raschek/jq:${TAG}-amd64 \
.

View File

@ -0,0 +1,22 @@
name: 'Lint Markdown files'
on:
pull_request:
types:
- opened
- reopened
- synchronize
push:
branches:
- master
workflow_dispatch: {}
jobs:
markdown-lint:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.3.0
- uses: DavidAnson/markdownlint-cli2-action@v20.0.0
with:
globs: '**/*.md'

View File

@ -0,0 +1,101 @@
name: Release
on:
push:
tags:
- "**"
jobs:
push-arm64:
runs-on: ubuntu-latest-arm64
steps:
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1
- uses: docker/login-action@v3.5.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg JQ_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/arm64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/jq:${TAG}-arm64 \
.
push-amd64:
runs-on: ubuntu-latest-amd64
steps:
- uses: actions/checkout@v4.3.0
- uses: docker/setup-qemu-action@v3.6.0
- uses: docker/setup-buildx-action@v3.11.1
- uses: docker/login-action@v3.5.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Build and push image
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker buildx build \
--build-arg JQ_VERSION=${{ github.ref_name }} \
--file Dockerfile \
--platform linux/amd64 \
--provenance false \
--push \
--tag git.cryptic.systems/volker.raschek/jq:${TAG}-amd64 \
.
push-manifest:
runs-on: ubuntu-latest
needs:
- push-arm64
- push-amd64
steps:
- uses: docker/login-action@v3.5.0
with:
registry: git.cryptic.systems
username: ${{ github.repository_owner }}
password: ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }}
- name: Create and push manifest
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
docker manifest create git.cryptic.systems/volker.raschek/jq:${TAG} \
--amend git.cryptic.systems/volker.raschek/jq:${TAG}-amd64 \
--amend git.cryptic.systems/volker.raschek/jq:${TAG}-arm64
docker manifest push git.cryptic.systems/volker.raschek/jq:${TAG}
sync-to-hub-docker-io:
needs:
- push-manifest
runs-on: ubuntu-latest
steps:
- name: Copy images to docker.io
run: |
TAG=$(echo ${{ github.ref_name }} | sed 's/v//gm')
apt-get update --yes
apt-get install --yes skopeo
skopeo copy \
--all \
--dest-password ${{ secrets.DOCKER_IO_PASSWORD }} \
--dest-username ${{ secrets.DOCKER_IO_USERNAME }} \
--src-password ${{ secrets.GIT_CRYPTIC_SYSTEMS_PACKAGE_REGISTRY_TOKEN }} \
--src-username volker.raschek \
docker://git.cryptic.systems/volker.raschek/jq:${TAG} \
docker://docker.io/volkerraschek/jq:${TAG}

View File

@ -0,0 +1,22 @@
name: Update Docker Hub Description
on:
push:
branches:
- master
paths:
- README.md
workflow_dispatch: {}
jobs:
update-description-on-hub-docker-io:
runs-on:
- ubuntu-latest
steps:
- uses: actions/checkout@v4.3.0
- uses: peter-evans/dockerhub-description@v4.0.2
with:
username: ${{ secrets.DOCKER_IO_USERNAME }}
password: ${{ secrets.DOCKER_IO_PASSWORD }}
repository: volkerraschek/jq
readme-filepath: README.md

View File

@ -45,19 +45,17 @@ MD012:
# MD013/line-length - Line length
MD013:
# Number of characters
line_length: 80
line_length: 120
# Number of characters for headings
heading_line_length: 80
heading_line_length: 120
# Number of characters for code blocks
code_block_line_length: 80
code_block_line_length: 120
# Include code blocks
code_blocks: false
# Include tables
tables: false
# Include headings
headings: true
# Include headings
headers: true
# Strict length checking
strict: false
# Stern length checking
@ -70,11 +68,6 @@ MD022:
# Blank lines below heading
lines_below: 1
# MD024/no-duplicate-heading/no-duplicate-header - Multiple headings with the same content
MD024:
# Only check sibling headings
allow_different_nesting: true
# MD025/single-title/single-h1 - Multiple top-level headings in the same document
MD025:
# Heading level

View File

@ -1,4 +1,4 @@
FROM docker.io/library/alpine:3.21.3 AS build
FROM docker.io/library/alpine:3.22.1 AS build
ARG JQ_VERSION

View File

@ -1,5 +1,5 @@
# JQ_VERSION
# Only required to install a specifiy version
# Only required to install a specify version
JQ_VERSION?=1.6 # renovate: datasource=github-releases depName=stedolan/jq
# CONTAINER_RUNTIME
@ -9,14 +9,13 @@ CONTAINER_RUNTIME?=$(shell which podman)
# JQ_IMAGE_REGISTRY_NAME
# Defines the name of the new container to be built using several variables.
JQ_IMAGE_REGISTRY_NAME:=git.cryptic.systems
JQ_IMAGE_REGISTRY_USER:=volker.raschek
JQ_IMAGE_REGISTRY_NAME?=git.cryptic.systems
JQ_IMAGE_REGISTRY_USER?=volker.raschek
JQ_IMAGE_NAMESPACE?=${JQ_IMAGE_REGISTRY_USER}
JQ_IMAGE_NAME:=jq
JQ_IMAGE_VERSION?=latest
JQ_IMAGE_FULLY_QUALIFIED=${JQ_IMAGE_REGISTRY_NAME}/${JQ_IMAGE_NAMESPACE}/${JQ_IMAGE_NAME}:${JQ_IMAGE_VERSION}
JQ_IMAGE_UNQUALIFIED=${JQ_IMAGE_NAMESPACE}/${JQ_IMAGE_NAME}:${JQ_IMAGE_VERSION}
# BUILD CONTAINER IMAGE
# ==============================================================================
@ -28,15 +27,13 @@ container-image/build:
--no-cache \
--pull \
--tag ${JQ_IMAGE_FULLY_QUALIFIED} \
--tag ${JQ_IMAGE_UNQUALIFIED} \
.
# DELETE CONTAINER IMAGE
# ==============================================================================
PHONY:=container-image/delete
container-image/delete:
- ${CONTAINER_RUNTIME} image rm ${JQ_IMAGE_FULLY_QUALIFIED} ${JQ_IMAGE_UNQUALIFIED}
- ${CONTAINER_RUNTIME} image rm ${BASE_IMAGE_FULL}
- ${CONTAINER_RUNTIME} image rm ${JQ_IMAGE_FULLY_QUALIFIED}
# PUSH CONTAINER IMAGE
# ==============================================================================

View File

@ -1,12 +1,24 @@
# jq-docker
# jq
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/jq-docker/status.svg)](https://drone.cryptic.systems/volker.raschek/jq-docker)
[![Docker Pulls](https://img.shields.io/docker/pulls/volkerraschek/jq)](https://hub.docker.com/r/volkerraschek/jq)
This project contains all sources to build the container image
`docker.io/volkerraschek/jq`. The primary goal of this project is to package the
binary `jq` as container image. The source code of the binary can be found in
the upstream project of [adrienverge](https://github.com/adrienverge/jq).
This project contains all sources to build the container image `git.cryptic.systems/volker.raschek/jq`. The primary goal
of this project is to package the binary `jq` as container image. The source code of the binary can be found in the
upstream project of [adrienverge](https://github.com/adrienverge/jq).
The workflow or how `jq` can in general be used is documented
[here](https://jq.readthedocs.io/en/stable/).
A documentation or how to use `jq` is available on [readthedocs.io](https://jq.readthedocs.io/en/stable/). An example
how to use this image and read a JSON file from stdin is documented below. Pleas adapt the path of the JSON file.
```bash
# read file (stdin)
docker run \
--interactive \
--rm \
git.cryptic.systems/volker.raschek/jq:latest < /etc/docker/daemon.json
# cat (stdin)
cat /etc/docker/daemon.json | docker run \
--interactive \
--rm \
git.cryptic.systems/volker.raschek/jq:latest
```

View File

@ -1,20 +0,0 @@
image: git.cryptic.systems/volker.raschek/jq:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}}
tags:
{{#each build.tags}}
- {{this}}
{{/each}}
- "latest"
{{/if}}
manifests:
-
image: git.cryptic.systems/volker.raschek/jq:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-amd64
platform:
architecture: amd64
os: linux
-
image: git.cryptic.systems/volker.raschek/jq:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform:
architecture: arm64
os: linux
variant: v8