Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6df7040101 | |||
| 0ac5e1e5a2 | |||
| c7088b8f4f | |||
| a5d47976ee |
@@ -286,7 +286,20 @@ jobs:
|
|||||||
- name: Generate .env file for deployment
|
- name: Generate .env file for deployment
|
||||||
run: |
|
run: |
|
||||||
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
vault kv get -format=json rinoa-docker/env | jq -r '.data.data' | jq -r 'keys[] as $k | "\($k)='\''\(.[$k])'\''"' > .env
|
||||||
|
- name: Detect modified services
|
||||||
|
id: detect-modified-services
|
||||||
|
run: |
|
||||||
|
git diff --name-only HEAD^ HEAD | grep docker-compose.yml > /dev/null
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
modified_services=$(git diff HEAD^ HEAD -- docker-compose.yml | grep -E '^\+[[:space:]]+[a-zA-Z0-9_-]+:' | sed -E 's/^\+[[:space:]]+([a-zA-Z0-9_-]+):.*/\1/')
|
||||||
|
echo "Modified services: $modified_services"
|
||||||
|
echo "modified_services=$modified_services" >> $GITHUB_OUTPUT
|
||||||
|
else
|
||||||
|
echo "No changes in docker-compose.yml"
|
||||||
|
echo "modified_services=" >> $GITHUB_OUTPUT
|
||||||
|
fi
|
||||||
- name: Docker Compose Deployment
|
- name: Docker Compose Deployment
|
||||||
|
if: ${{ steps.detect-modified-services.outputs.modified_services != '' }}
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: keatonLiu/docker-compose-remote-action@v1.2
|
uses: keatonLiu/docker-compose-remote-action@v1.2
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -16,9 +16,6 @@
|
|||||||
| bitwarden | vaultwarden/server:latest |
|
| bitwarden | vaultwarden/server:latest |
|
||||||
| bluesky-pds | ghcr.io/bluesky-social/pds:latest |
|
| bluesky-pds | ghcr.io/bluesky-social/pds:latest |
|
||||||
| browserless | ghcr.io/browserless/chromium:latest |
|
| browserless | ghcr.io/browserless/chromium:latest |
|
||||||
| bunkerweb | bunkerity/bunkerweb:latest |
|
|
||||||
| bunkerweb-scheduler | bunkerity/bunkerweb-scheduler:latest |
|
|
||||||
| bunkerweb-ui | bunkerity/bunkerweb-ui:latest |
|
|
||||||
| castopod | castopod/castopod:latest |
|
| castopod | castopod/castopod:latest |
|
||||||
| cloudflared | cloudflare/cloudflared:latest |
|
| cloudflared | cloudflare/cloudflared:latest |
|
||||||
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
| cloudflareddns | ghcr.io/hotio/cloudflareddns:latest |
|
||||||
@@ -147,10 +144,10 @@
|
|||||||
| wallabag | wallabag/wallabag |
|
| wallabag | wallabag/wallabag |
|
||||||
| wallos | bellamy/wallos:latest |
|
| wallos | bellamy/wallos:latest |
|
||||||
| watchtower | ghcr.io/containrrr/watchtower:latest |
|
| watchtower | ghcr.io/containrrr/watchtower:latest |
|
||||||
| wazuh.agent | opennix/wazuh-agent:latest |
|
| wazuh-agent | kennyopennix/wazuh-agent:latest |
|
||||||
| wazuh.dashboard | wazuh/wazuh-dashboard: |
|
| wazuh-dashboard | wazuh/wazuh-dashboard: |
|
||||||
| wazuh.indexer | wazuh/wazuh-indexer: |
|
| wazuh-indexer | wazuh/wazuh-indexer: |
|
||||||
| wazuh.manager | wazuh/wazuh-manager: |
|
| wazuh-manager | wazuh/wazuh-manager: |
|
||||||
| web-check | lissy93/web-check |
|
| web-check | lissy93/web-check |
|
||||||
| your_spotify | lscr.io/linuxserver/your_spotify:latest |
|
| your_spotify | lscr.io/linuxserver/your_spotify:latest |
|
||||||
| youtubedl | nbr23/youtube-dl-server:latest |
|
| youtubedl | nbr23/youtube-dl-server:latest |
|
||||||
|
|||||||
Reference in New Issue
Block a user