From 2e8d847c4fbccbd27566ad4f1484b7809ac62cd7 Mon Sep 17 00:00:00 2001
From: Jacek Kowalski <Jacek@jacekk.info>
Date: Wed, 11 Mar 2026 19:24:05 +0000
Subject: [PATCH] Workflows: deploy to GitHub Container Registry
---
.github/workflows/release.yml | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f5c1351..ca6df05 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -9,6 +9,32 @@
contents: read
jobs:
+ deploy-to-ghcr-io:
+ name: Publish to GitHub Container Registry
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ packages: write
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v6
+
+ - name: Log in to the Container registry
+ uses: docker/login-action@v4
+ with:
+ registry: ghcr.io
+ username: ${{ github.actor }}
+ password: ${{ secrets.GITHUB_TOKEN }}
+
+ - name: Prepare and push Docker plugin
+ run: |
+ export NAME="ghcr.io/${{ github.repository }}"
+ export VERSIONS="latest ${GITHUB_REF/refs\/tags\//}"
+ ./package.sh
+ for VERSION in ${VERSIONS}; do
+ docker plugin push "ghcr.io/${{ github.repository }}:${VERSION}"
+ done
+
deploy-to-docker-hub:
name: Publish to Docker Hub
runs-on: ubuntu-latest
--
Gitblit v1.10.0