Testing full workflow.
Home Assistant & Miscellaneous Deployment / Check and Create PR (push) Successful in 14s
Home Assistant & Miscellaneous Deployment / PR Merge (push) Successful in 21s
Home Assistant & Miscellaneous Deployment / Generate list of added/modified/deleted services (push) Has been cancelled
Home Assistant & Miscellaneous Deployment / Docker Compose Dry Run (push) Has been cancelled
Home Assistant & Miscellaneous Deployment / Docker Compose Deployment (push) Has been cancelled
Home Assistant & Miscellaneous Deployment / Home Assistant Configuration Check (push) Has been cancelled

This commit is contained in:
2025-08-26 07:55:16 -04:00
parent 779a838f8b
commit 3b27fd272a
+183 -152
View File
@@ -7,10 +7,11 @@ on:
paths: paths:
- '**/docker-compose.yml' - '**/docker-compose.yml'
- '**/home-assistant-deploy.yml' - '**/home-assistant-deploy.yml'
- '**/homeassistant-check.yml'
env: env:
HC_VAULT_VERSION: '1.20.0' HC_VAULT_VERSION: '1.20.0'
TEA_VERSION: '0.10.1' TEA_VERSION: '0.10.1'
jobs: jobs:
check-and-create-pr: check-and-create-pr:
if: github.ref != 'refs/heads/main' if: github.ref != 'refs/heads/main'
@@ -21,18 +22,21 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 1 fetch-depth: 1
- name: Cache tea CLI - name: Cache tea CLI
id: cache-tea id: cache-tea
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: /opt/hostedtoolcache/tea/${{ env.TEA_VERSION }}/x64 path: /opt/hostedtoolcache/tea/${{ env.TEA_VERSION }}/x64
key: tea-${{ runner.os }}-${{ env.TEA_VERSION }} key: tea-${{ runner.os }}-${{ env.TEA_VERSION }}
- name: Install tea - name: Install tea
uses: supplypike/setup-bin@v4 uses: supplypike/setup-bin@v4
with: with:
uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64 uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64
name: tea name: tea
version: ${{ env.TEA_VERSION }} version: ${{ env.TEA_VERSION }}
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
@@ -40,6 +44,7 @@ jobs:
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: PR Check' notification_title: 'GITEA: PR Check'
notification_message: 'Checking for existing PR... 🔍' notification_message: 'Checking for existing PR... 🔍'
- name: Check if open PR exists - name: Check if open PR exists
id: check-opened-pr-step id: check-opened-pr-step
continue-on-error: true continue-on-error: true
@@ -47,6 +52,7 @@ jobs:
tea login add --name gitea-rinoa --url "${{ secrets.RIKKU_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }} tea login add --name gitea-rinoa --url "${{ secrets.RIKKU_GITEA_URL }}" --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[HA\].*${{ github.ref_name }}' | tail -1 | wc -l) pr_exists=$(tea pr list --repo ${{ github.repository }} --state open --fields index,title,head | egrep '\[HA\].*${{ github.ref_name }}' | tail -1 | wc -l)
echo "exists=$pr_exists" >> $GITHUB_OUTPUT echo "exists=$pr_exists" >> $GITHUB_OUTPUT
- name: Create PR - name: Create PR
if: ${{ steps.check-opened-pr-step.outputs.exists == '0' }} if: ${{ steps.check-opened-pr-step.outputs.exists == '0' }}
run: | run: |
@@ -54,6 +60,7 @@ jobs:
pr_index_old=$(tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head --output csv | sed -e 's|"||g' | egrep '^[0-9]' | head -1 | awk -F"," '{print $1}') pr_index_old=$(tea pr ls --repo ${{ github.repository }} --state all --fields index,title,head --output csv | sed -e 's|"||g' | egrep '^[0-9]' | head -1 | awk -F"," '{print $1}')
pr_index_new=$(expr ${pr_index_old} + 1) pr_index_new=$(expr ${pr_index_old} + 1)
tea pr c -r ${{ github.repository }} -t "[HA] Automated PR for ${{ github.ref_name }} - #${pr_index_new}" -d "Automatically created PR for branch: ${{ github.ref_name }}" -a ${{ github.actor }} -L "Docker Compose" tea pr c -r ${{ github.repository }} -t "[HA] Automated PR for ${{ github.ref_name }} - #${pr_index_new}" -d "Automatically created PR for branch: ${{ github.ref_name }}" -a ${{ github.actor }} -L "Docker Compose"
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
@@ -61,6 +68,7 @@ jobs:
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: PR Check' notification_title: 'GITEA: PR Check'
notification_message: 'PR Created 🎟️' notification_message: 'PR Created 🎟️'
home-assistant-config-check: home-assistant-config-check:
name: Home Assistant Configuration Check name: Home Assistant Configuration Check
needs: [check-and-create-pr] needs: [check-and-create-pr]
@@ -124,88 +132,98 @@ jobs:
notification_title: 'GITEA: Home Assistant Config Check' notification_title: 'GITEA: Home Assistant Config Check'
notification_message: '🚀 Config check done!' notification_message: '🚀 Config check done!'
# generate-service-list: generate-service-list:
# name: Generate list of added/modified/deleted services name: Generate list of added/modified/deleted services
# runs-on: ubuntu-latest runs-on: ubuntu-latest
# needs: [home-assistant-config-check] needs: [home-assistant-config-check]
# outputs: outputs:
# svc_deploy_list: ${{ steps.detect_services.outputs.docker_svc_list }} svc_deploy_list: ${{ steps.detect_services.outputs.docker_svc_list }}
# steps: steps:
# - name: Checkout - name: Checkout
# uses: actions/checkout@v4 uses: actions/checkout@v4
# - name: Fetch base branch
# run: |
# git fetch origin ${{ github.event.pull_request.base.ref }}
# - name: Gotify Notification
# uses: eikendev/gotify-action@master
# with:
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'GITEA: Services TBD'
# notification_message: 'Generating list of services to deploy...'
# - name: Save both versions of docker-compose.yml
# run: |
# git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml
# cp docker-compose.yml docker-compose-head.yml
# - name: Detect added, deleted, and modified services
# id: detect_services
# run: |
# echo "Getting services from main and ${{ github.ref_name }}"
# yq '.services | keys | .[]' docker-compose-main.yml | sort > services_main.txt
# yq '.services | keys | .[]' docker-compose-head.yml | sort > services_head.txt
# echo "Creating list of modified services..." - name: Fetch base branch
# touch service_changes.txt run: |
git fetch origin ${{ github.event.pull_request.base.ref }}
# comm -13 services_main.txt services_head.txt | while read service; do - name: Gotify Notification
# echo "$service: added" >> service_changes.txt uses: eikendev/gotify-action@master
# done with:
gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Services TBD'
notification_message: 'Generating list of services to deploy...'
# comm -12 services_main.txt services_head.txt | while read service; do - name: Save both versions of docker-compose.yml
# yq ".services[\"$service\"]" docker-compose-main.yml > tmp_main.yml run: |
# yq ".services[\"$service\"]" docker-compose-head.yml > tmp_head.yml git show origin/main:docker-compose.yml > docker-compose-main.yml || touch docker-compose-main.yml
# if ! diff -q tmp_main.yml tmp_head.yml > /dev/null; then cp docker-compose.yml docker-compose-head.yml
# echo "$service: modified" >> service_changes.txt
# fi
# done
# echo "Detected service changes:" - name: Detect added, deleted, and modified services
# cat service_changes.txt id: detect_services
run: |
echo "Getting services from main and ${{ github.ref_name }}"
yq '.services | keys | .[]' docker-compose-main.yml | sort > services_main.txt
yq '.services | keys | .[]' docker-compose-head.yml | sort > services_head.txt
echo "Creating list of modified services..."
touch service_changes.txt
comm -13 services_main.txt services_head.txt | while read service; do
echo "$service: added" >> service_changes.txt
done
comm -12 services_main.txt services_head.txt | while read service; do
yq ".services[\"$service\"]" docker-compose-main.yml > tmp_main.yml
yq ".services[\"$service\"]" docker-compose-head.yml > tmp_head.yml
if ! diff -q tmp_main.yml tmp_head.yml > /dev/null; then
echo "$service: modified" >> service_changes.txt
fi
done
echo "Detected service changes:"
cat service_changes.txt
mod_svcs=$(cut -d':' -f1 service_changes.txt | sort | uniq)
echo "docker_svc_list<<EOF" >> "$GITHUB_OUTPUT"
echo "$mod_svcs" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
- name: List of Services for (Re)Deployment
run: |
echo -e "${{ steps.detect_services.outputs.docker_svc_list }}"
# mod_svcs=$(cut -d':' -f1 service_changes.txt | sort | uniq)
# echo "docker_svc_list<<EOF" >> "$GITHUB_OUTPUT"
# echo "$mod_svcs" >> "$GITHUB_OUTPUT"
# echo "EOF" >> "$GITHUB_OUTPUT"
# - name: List of Services for (Re)Deployment
# run: |
# echo -e "${{ steps.detect_services.outputs.docker_svc_list }}"
docker-compose-dry-run: docker-compose-dry-run:
name: Docker Compose Dry Run name: Docker Compose Dry Run
needs: [home-assistant-config-check] needs: [home-assistant-config-check, generate-service-list]
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
VAULT_ADDR: ${{ secrets.RIKKU_VAULT_ADDR }} VAULT_ADDR: ${{ secrets.RIKKU_VAULT_ADDR }}
VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
VAULT_NAMESPACE: "" VAULT_NAMESPACE: ""
RIKKU_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }} RIKKU_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }}
# DOCKER_SVC_LIST: ${{ needs.generate-service-list.outputs.svc_deploy_list }} DOCKER_SVC_LIST: ${{ needs.generate-service-list.outputs.svc_deploy_list }}
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Login to Gitea Container Registry - name: Login to Gitea Container Registry
run: | run: |
docker login -u gitea-sonarqube-bot -p ${RIKKU_REGISTRY_PASSWORD} git.trez.wtf docker login -u gitea-sonarqube-bot -p ${RIKKU_REGISTRY_PASSWORD} git.trez.wtf
- name: Cache Vault install - name: Cache Vault install
id: cache-vault id: cache-vault
uses: actions/cache@v4 uses: actions/cache@v4
with: with:
path: /opt/hostedtoolcache/vault/${{ env.HC_VAULT_VERSION }}/x64 path: /opt/hostedtoolcache/vault/${{ env.HC_VAULT_VERSION }}/x64
key: vault-${{ runner.os }}-${{ env.HC_VAULT_VERSION }} key: vault-${{ runner.os }}-${{ env.HC_VAULT_VERSION }}
- name: Install Vault (only if not cached) - name: Install Vault (only if not cached)
if: steps.cache-vault.outputs.cache-hit != 'true' if: steps.cache-vault.outputs.cache-hit != 'true'
uses: cpanato/vault-installer@main uses: cpanato/vault-installer@main
with: with:
version: ${{ env.HC_VAULT_VERSION }} version: ${{ env.HC_VAULT_VERSION }}
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
@@ -213,9 +231,11 @@ jobs:
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Dry Run @ Rikku' notification_title: 'GITEA: Docker Compose Dry Run @ Rikku'
notification_message: 'Starting Docker Compose dry run...' notification_message: 'Starting Docker Compose dry run...'
- name: Generate .env file for Docker Compose - name: Generate .env file for Docker Compose
run: | run: |
vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
- name: Docker Compose Dry Run - name: Docker Compose Dry Run
uses: cssnr/stack-deploy-action@v1.3.2 uses: cssnr/stack-deploy-action@v1.3.2
with: with:
@@ -231,6 +251,7 @@ jobs:
registry_user: TrezOne registry_user: TrezOne
registry_pass: ${{ secrets.GHCR_LOGIN_TOKEN }} registry_pass: ${{ secrets.GHCR_LOGIN_TOKEN }}
summary: true summary: true
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/gotify-action@master uses: eikendev/gotify-action@master
with: with:
@@ -238,102 +259,112 @@ jobs:
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Dry Run @ Rikku' notification_title: 'GITEA: Docker Compose Dry Run @ Rikku'
notification_message: 'Docker Compose dry run completed successfully.' notification_message: 'Docker Compose dry run completed successfully.'
# pr-merge:
# name: PR Merge pr-merge:
# needs: [regenerate-readme-modified-services] name: PR Merge
# runs-on: ubuntu-latest needs: [regenerate-readme-modified-services]
# steps: runs-on: ubuntu-latest
# - name: Checkout steps:
# uses: actions/checkout@v4 - name: Checkout
# - name: Cache tea CLI uses: actions/checkout@v4
# id: cache-tea
# uses: actions/cache@v4 - name: Cache tea CLI
# with: id: cache-tea
# path: /opt/hostedtoolcache/tea/${{ env.TEA_VERSION }}/x64 uses: actions/cache@v4
# key: tea-${{ runner.os }}-${{ env.TEA_VERSION }} with:
# - name: Install tea path: /opt/hostedtoolcache/tea/${{ env.TEA_VERSION }}/x64
# uses: supplypike/setup-bin@v4 key: tea-${{ runner.os }}-${{ env.TEA_VERSION }}
# with:
# uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64 - name: Install tea
# name: tea uses: supplypike/setup-bin@v4
# version: ${{ env.TEA_VERSION }} with:
# - name: PR Merge uri: https://gitea.com/gitea/tea/releases/download/v${{ env.TEA_VERSION }}/tea-${{ env.TEA_VERSION }}-linux-amd64
# id: pr_merge name: tea
# run: | version: ${{ env.TEA_VERSION }}
# tea login add --name gitea-rinoa --url ${{ secrets.RIKKU_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
# tea login default gitea-rinoa - name: PR Merge
# echo "Merging PR..." id: pr_merge
# pr_index=$(tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state --output csv | egrep ${{ github.ref_name }} | awk -F"," '{print $1}' | sed -e 's|"||g') run: |
# tea pr m --repo ${{ github.repository }} --title "Auto Merge of PR ${pr_index} - ${{ github.ref_name }}" --message "Merged by ${{ github.actor }}" ${pr_index} tea login add --name gitea-rinoa --url ${{ secrets.RIKKU_GITEA_URL }} --user gitea-sonarqube-bot --password "${{ secrets.BOT_GITEA_PASSWORD }}" --token ${{ secrets.BOT_GITEA_TOKEN }}
# echo "pr_index=${pr_index}" >> $GITHUB_OUTPUT tea login default gitea-rinoa
# - name: Gotify Notification echo "Merging PR..."
# uses: eikendev/gotify-action@master pr_index=$(tea pr ls --repo ${{ github.repository }} --state open --fields index,title,head,state --output csv | egrep ${{ github.ref_name }} | awk -F"," '{print $1}' | sed -e 's|"||g')
# with: tea pr m --repo ${{ github.repository }} --title "Auto Merge of PR ${pr_index} - ${{ github.ref_name }}" --message "Merged by ${{ github.actor }}" ${pr_index}
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' echo "pr_index=${pr_index}" >> $GITHUB_OUTPUT
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'GITEA: PR Merge Successful' - name: Gotify Notification
# notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.' uses: eikendev/gotify-action@master
# docker-compose-deploy: with:
# name: Docker Compose Deployment gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
# runs-on: ubuntu-latest gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# needs: [generate-service-list, docker-compose-dry-run, pr-merge] notification_title: 'GITEA: PR Merge Successful'
# env: notification_message: 'PR #${{ steps.pr_merge.outputs.pr_index }} merged.'
# VAULT_ADDR: ${{ secrets.RIKKU_VAULT_ADDR }}
# VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }} docker-compose-deploy:
# DOCKER_HOST: tcp://dockerproxy:2375 name: Docker Compose Deployment
# RIKKU_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }} runs-on: ubuntu-latest
# DOCKER_SVC_LIST: ${{ needs.generate-service-list.outputs.svc_deploy_list }} needs: [generate-service-list, docker-compose-dry-run, pr-merge]
# steps: env:
# - name: Checkout VAULT_ADDR: ${{ secrets.RIKKU_VAULT_ADDR }}
# uses: actions/checkout@v4 VAULT_TOKEN: ${{ secrets.VAULT_GITEA_TOKEN }}
# with: RIKKU_REGISTRY_PASSWORD: ${{ secrets.BOT_GITEA_PASSWORD }}
# ref: main DOCKER_SVC_LIST: ${{ needs.generate-service-list.outputs.svc_deploy_list }}
# - name: Cache Vault install steps:
# id: cache-vault - name: Checkout
# uses: actions/cache@v4 uses: actions/checkout@v4
# with: with:
# path: /opt/hostedtoolcache/vault/${{ env.HC_VAULT_VERSION }}/x64 ref: main
# key: vault-${{ runner.os }}-${{ env.HC_VAULT_VERSION }}
# - name: Install Vault (only if not cached) - name: Cache Vault install
# if: steps.cache-vault.outputs.cache-hit != 'true' id: cache-vault
# uses: cpanato/vault-installer@main uses: actions/cache@v4
# with: with:
# version: ${{ env.HC_VAULT_VERSION }} path: /opt/hostedtoolcache/vault/${{ env.HC_VAULT_VERSION }}/x64
# - name: Login to Gitea Container Registry key: vault-${{ runner.os }}-${{ env.HC_VAULT_VERSION }}
# run: |
# docker login -u gitea-sonarqube-bot -p ${RIKKU_REGISTRY_PASSWORD} git.trez.wtf - name: Install Vault (only if not cached)
# - name: Gotify Notification if: steps.cache-vault.outputs.cache-hit != 'true'
# uses: eikendev/gotify-action@master uses: cpanato/vault-installer@main
# with: with:
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' version: ${{ env.HC_VAULT_VERSION }}
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# notification_title: 'GITEA: Docker Compose Deployment @ Rikku' - name: Login to Gitea Container Registry
# notification_message: 'Starting Docker Compose run...' run: |
# - name: Generate .env file for deployment docker login -u gitea-sonarqube-bot -p ${RIKKU_REGISTRY_PASSWORD} git.trez.wtf
# run: |
# vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env - name: Gotify Notification
# echo ${DOCKER_SVC_LIST} uses: eikendev/gotify-action@master
# - name: Docker Compose Deployment with:
# uses: hoverkraft-tech/compose-action@v2.2.0 gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
# env: gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
# DOCKER_HOST: tcp://dockerproxy:2375 notification_title: 'GITEA: Docker Compose Deployment @ Rikku'
# with: notification_message: 'Starting Docker Compose run...'
# services: |
# ${{ needs.generate-service-list.outputs.svc_deploy_list }} - name: Generate .env file for deployment
# up-flags: -d --remove-orphans run: |
# down-flags: --dry-run vault kv get -format=json rikku-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
# - name: Docker Compose Healthcheck echo ${DOCKER_SVC_LIST}
# uses: jaracogmbh/docker-compose-health-check-action@v1.0.0
# with: - name: Docker Compose Deployment
# max-retries: 30 uses: cssnr/stack-deploy-action@v1.3.2
# retry-interval: 10 with:
# compose-file: "docker-compose.yml" mode: compose
# skip-exited: "true" file: docker-compose.yml
# skip-no-healthcheck: "true" name: 'rikku'
# - name: Gotify Notification host: 192.168.1.252
# uses: eikendev/gotify-action@master user: pi
# with: ssh_key: ${{ secrets.RIKKU_SSH_PRIVATE_KEY }}
# gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}' args: --remove-orphans -d
# gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}' env_file: '.env'
# notification_title: 'GITEA: Docker Compose Deployment @ Rikku' registry_host: 'ghcr.io'
# notification_message: 'Deployment completed successfully.' registry_user: TrezOne
registry_pass: ${{ secrets.GHCR_LOGIN_TOKEN }}
summary: true
- name: Gotify Notification
uses: eikendev/gotify-action@master
with:
gotify_api_base: '${{ secrets.RIKKU_GOTIFY_URL }}'
gotify_app_token: '${{ secrets.RIKKU_RUNNER_GOTIFY_TOKEN }}'
notification_title: 'GITEA: Docker Compose Deployment @ Rikku'
notification_message: 'Deployment completed successfully.'