Skip to content

not-supported: cannot resolve host if the origin server is behind cloudflare #23

@Isak-Bego

Description

@Isak-Bego

Repo Link

https://github.com/AUBGTheHUB/monolith/blob/main/.github/workflows/dev_deploy.yml

Details

We put our servers behind Cloudflare and now the stack-deploy-action is failing with exit code 1 since the host name that we are using does not resolve to the actual IP address of the VPS but to the IP of the Cloudflare proxy. Is there any workaround with the current implementation?

Log Output

2025-03-10T21:07:49.6264023Z Current runner version: '2.322.0'
2025-03-10T21:07:49.6290638Z ##[group]Operating System
2025-03-10T21:07:49.6292243Z Ubuntu
2025-03-10T21:07:49.6293290Z 24.04.2
2025-03-10T21:07:49.6294262Z LTS
2025-03-10T21:07:49.6295268Z ##[endgroup]
2025-03-10T21:07:49.6296297Z ##[group]Runner Image
2025-03-10T21:07:49.6297305Z Image: ubuntu-24.04
2025-03-10T21:07:49.6298387Z Version: 20250302.1.0
2025-03-10T21:07:49.6300031Z Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20250302.1/images/ubuntu/Ubuntu2404-Readme.md
2025-03-10T21:07:49.6302212Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20250302.1
2025-03-10T21:07:49.6303735Z ##[endgroup]
2025-03-10T21:07:49.6304801Z ##[group]Runner Image Provisioner
2025-03-10T21:07:49.6305833Z 2.0.422.1
2025-03-10T21:07:49.6306849Z ##[endgroup]
2025-03-10T21:07:49.6308690Z ##[group]GITHUB_TOKEN Permissions
2025-03-10T21:07:49.6311845Z Metadata: read
2025-03-10T21:07:49.6313082Z Packages: write
2025-03-10T21:07:49.6314312Z ##[endgroup]
2025-03-10T21:07:49.6317000Z Secret source: Actions
2025-03-10T21:07:49.6318304Z Prepare workflow directory
2025-03-10T21:07:49.6721439Z Prepare all required actions
2025-03-10T21:07:49.6758212Z Getting action download info
2025-03-10T21:07:49.8912060Z Download action repository 'actions/checkout@v4' (SHA:11bd71901bbe5b1630ceea73d27597364c9af683)
2025-03-10T21:07:49.9806457Z Download action repository 'cssnr/stack-deploy-action@v1' (SHA:692c9498dc1b73bdd137d1a6f34b0fa1339f870c)
2025-03-10T21:07:50.3495827Z Complete job name: deploy-to-dev
2025-03-10T21:07:50.3980250Z ##[group]Build container for action use: '/home/runner/work/_actions/cssnr/stack-deploy-action/v1/Dockerfile'.
2025-03-10T21:07:50.4035879Z ##[command]/usr/bin/docker build -t 9b756f:f30d07c867704abda75191f454bd6b31 -f "/home/runner/work/_actions/cssnr/stack-deploy-action/v1/Dockerfile" "/home/runner/work/_actions/cssnr/stack-deploy-action/v1"
2025-03-10T21:07:50.8649787Z #0 building with "default" instance using docker driver
2025-03-10T21:07:50.8651131Z 
2025-03-10T21:07:50.8651893Z #1 [internal] load build definition from Dockerfile
2025-03-10T21:07:50.8653663Z #1 transferring dockerfile: 156B done
2025-03-10T21:07:50.8654820Z #1 DONE 0.0s
2025-03-10T21:07:50.8655374Z 
2025-03-10T21:07:50.8655836Z #2 [auth] library/docker:pull token for registry-1.docker.io
2025-03-10T21:07:51.0149102Z #2 DONE 0.0s
2025-03-10T21:07:51.0149656Z 
2025-03-10T21:07:51.0150234Z #3 [internal] load metadata for docker.io/library/docker:28-dind
2025-03-10T21:07:51.2647403Z #3 DONE 0.5s
2025-03-10T21:07:51.3753126Z 
2025-03-10T21:07:51.3754227Z #4 [internal] load .dockerignore
2025-03-10T21:07:51.3755940Z #4 transferring context: 2B done
2025-03-10T21:07:51.3895565Z #4 DONE 0.0s
2025-03-10T21:07:51.3896967Z 
2025-03-10T21:07:51.3898106Z #5 [internal] load build context
2025-03-10T21:07:51.3900580Z #5 transferring context: 3.73kB done
2025-03-10T21:07:51.3903885Z #5 DONE 0.0s
2025-03-10T21:07:51.3905180Z 
2025-03-10T21:07:51.3907417Z #6 [1/3] FROM docker.io/library/docker:28-dind@sha256:9a651b22672c7151b5d8ca820ed2290b3fe4d4922e9b3f37ab14c8876da6613d
2025-03-10T21:07:51.3912668Z #6 resolve docker.io/library/docker:28-dind@sha256:9a651b22672c7151b5d8ca820ed2290b3fe4d4922e9b3f37ab14c8876da6613d done
2025-03-10T21:07:51.3917400Z #6 extracting sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870
2025-03-10T21:07:51.4843387Z #6 extracting sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 0.1s done
2025-03-10T21:07:51.4848681Z #6 sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 32B / 32B 0.1s done
2025-03-10T21:07:51.4854368Z #6 sha256:f18232174bc91741fdf3da96d85011092101a032a93a388b79e99e69c2d5c870 3.64MB / 3.64MB 0.1s done
2025-03-10T21:07:51.4860491Z #6 sha256:3795da19ece39a2f3e799e489d3386b647d821a7e85ce5b46158fda8385c90ae 8.06MB / 8.06MB 0.2s done
2025-03-10T21:07:51.4866877Z #6 sha256:cca75ab1d7a7464eafbb043969362b3580b89fc13d0a24015f05784cf1fbf4a8 12.03kB / 12.03kB done
2025-03-10T21:07:51.4873179Z #6 sha256:9a651b22672c7151b5d8ca820ed2290b3fe4d4922e9b3f37ab14c8876da6613d 5.17kB / 5.17kB done
2025-03-10T21:07:51.4879694Z #6 sha256:63af38ad28e39198d32b84f6f0766b84f129223962a2b9d0d08895f82b8c974a 4.00kB / 4.00kB done
2025-03-10T21:07:51.4885275Z #6 sha256:8661467c513c0068cd667d83c057ef762773b5ccf6aad8dca72be7b0e9e58e9e 455B / 455B 0.1s done
2025-03-10T21:07:51.4890623Z #6 sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 0B / 21.83MB 0.2s
2025-03-10T21:07:51.4897704Z #6 sha256:1ec760ee5d6f28773e7cbf44a8a2b6b34fb4aa0d6fa6d0b614fc080d333c7676 5.24MB / 19.50MB 0.2s
2025-03-10T21:07:51.4903290Z #6 sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 0B / 20.96MB 0.2s
2025-03-10T21:07:51.5846743Z #6 sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 11.53MB / 21.83MB 0.3s
2025-03-10T21:07:51.5853402Z #6 sha256:1ec760ee5d6f28773e7cbf44a8a2b6b34fb4aa0d6fa6d0b614fc080d333c7676 15.73MB / 19.50MB 0.3s
2025-03-10T21:07:51.5860114Z #6 sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 8.39MB / 20.96MB 0.3s
2025-03-10T21:07:51.5865923Z #6 extracting sha256:3795da19ece39a2f3e799e489d3386b647d821a7e85ce5b46158fda8385c90ae
2025-03-10T21:07:51.7051261Z #6 sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 20.97MB / 21.83MB 0.4s
2025-03-10T21:07:51.7055869Z #6 sha256:1ec760ee5d6f28773e7cbf44a8a2b6b34fb4aa0d6fa6d0b614fc080d333c7676 19.50MB / 19.50MB 0.4s done
2025-03-10T21:07:51.7058215Z #6 sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 17.83MB / 20.96MB 0.4s
2025-03-10T21:07:51.7060290Z #6 extracting sha256:3795da19ece39a2f3e799e489d3386b647d821a7e85ce5b46158fda8385c90ae 0.2s done
2025-03-10T21:07:51.7062154Z #6 sha256:998be54fa1411f0ee896dc23f34ff26d9187f809346db77c1a808fb03dbcb953 0B / 538B 0.4s
2025-03-10T21:07:51.8197699Z #6 sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 21.83MB / 21.83MB 0.4s done
2025-03-10T21:07:51.8199408Z #6 sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 20.96MB / 20.96MB 0.5s done
2025-03-10T21:07:51.8200751Z #6 sha256:998be54fa1411f0ee896dc23f34ff26d9187f809346db77c1a808fb03dbcb953 538B / 538B 0.4s done
2025-03-10T21:07:51.8202540Z #6 sha256:e0edd909f3e7692f076d353fc1fe5c12f1c94db3cde6d2c554c3c65f97cdba45 116B / 116B 0.5s
2025-03-10T21:07:51.8204104Z #6 sha256:696b3568325ca8bac8e3cb71d242fae67bc3366bace97cd62c04e6616ffbb793 0B / 6.73MB 0.5s
2025-03-10T21:07:51.8205576Z #6 sha256:b8fb44047f2a37f86a5f6b5e48070a7d913119ce8f1b209cb835655226264209 1.01kB / 1.01kB 0.5s done
2025-03-10T21:07:51.8206944Z #6 sha256:aae4123c72b3c4dbad7c6ce805c7e43be3ed6021d036da1aa20e114328e622f1 0B / 90.32kB 0.5s
2025-03-10T21:07:51.8208249Z #6 extracting sha256:4f4fb700ef54461cfa02571ae0db9a0dc1e0cdb5577484a6d75e68dc38e8acc1 done
2025-03-10T21:07:51.8209504Z #6 extracting sha256:8661467c513c0068cd667d83c057ef762773b5ccf6aad8dca72be7b0e9e58e9e
2025-03-10T21:07:51.9396188Z #6 sha256:e0edd909f3e7692f076d353fc1fe5c12f1c94db3cde6d2c554c3c65f97cdba45 116B / 116B 0.5s done
2025-03-10T21:07:51.9399511Z #6 sha256:696b3568325ca8bac8e3cb71d242fae67bc3366bace97cd62c04e6616ffbb793 6.73MB / 6.73MB 0.5s done
2025-03-10T21:07:51.9402074Z #6 sha256:aae4123c72b3c4dbad7c6ce805c7e43be3ed6021d036da1aa20e114328e622f1 90.32kB / 90.32kB 0.5s done
2025-03-10T21:07:51.9404007Z #6 extracting sha256:8661467c513c0068cd667d83c057ef762773b5ccf6aad8dca72be7b0e9e58e9e done
2025-03-10T21:07:51.9406439Z #6 extracting sha256:1ec760ee5d6f28773e7cbf44a8a2b6b34fb4aa0d6fa6d0b614fc080d333c7676 0.1s
2025-03-10T21:07:51.9408410Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 2.10MB / 60.19MB 0.6s
2025-03-10T21:07:51.9409966Z #6 sha256:f21a33964add14269b10f44dd466bc3c02ceda0b65e353edcb19eb33c863aea0 0B / 1.64kB 0.6s
2025-03-10T21:07:51.9411522Z #6 sha256:97dc3a0172b64618b6019d8c9dfd03bdd3bdf91bd80aebffaa5a92c8ae5bff3c 0B / 3.26kB 0.6s
2025-03-10T21:07:51.9413119Z #6 sha256:eca80691327dc1b41c3dc3fd8587c1d7f4a686e35d9c9b8cf1f76f3e98034f31 1.01kB / 1.01kB 0.6s done
2025-03-10T21:07:52.0843021Z #6 extracting sha256:1ec760ee5d6f28773e7cbf44a8a2b6b34fb4aa0d6fa6d0b614fc080d333c7676 0.2s done
2025-03-10T21:07:52.0844984Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 22.02MB / 60.19MB 0.8s
2025-03-10T21:07:52.0847782Z #6 sha256:f21a33964add14269b10f44dd466bc3c02ceda0b65e353edcb19eb33c863aea0 1.64kB / 1.64kB 0.6s done
2025-03-10T21:07:52.0849286Z #6 sha256:97dc3a0172b64618b6019d8c9dfd03bdd3bdf91bd80aebffaa5a92c8ae5bff3c 3.26kB / 3.26kB 0.6s done
2025-03-10T21:07:52.1979585Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 34.60MB / 60.19MB 0.9s
2025-03-10T21:07:52.1981303Z #6 extracting sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 0.1s
2025-03-10T21:07:52.3110173Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 44.04MB / 60.19MB 1.0s
2025-03-10T21:07:52.4847382Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 60.19MB / 60.19MB 1.2s
2025-03-10T21:07:52.4849011Z #6 extracting sha256:6c635aaeace6c21c4023ef00aa52d94d6562588edaa3aad82866677d7cd6a5ff 0.3s done
2025-03-10T21:07:52.5940236Z #6 sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 60.19MB / 60.19MB 1.2s done
2025-03-10T21:07:52.5943357Z #6 extracting sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 0.1s
2025-03-10T21:07:52.8529176Z #6 extracting sha256:8d14474db62f6d4f2619294ffb73aa5732222ebff4ce811b4a7b46a392f84987 0.3s done
2025-03-10T21:07:52.8531774Z #6 extracting sha256:998be54fa1411f0ee896dc23f34ff26d9187f809346db77c1a808fb03dbcb953
2025-03-10T21:07:52.9874972Z #6 extracting sha256:998be54fa1411f0ee896dc23f34ff26d9187f809346db77c1a808fb03dbcb953 done
2025-03-10T21:07:52.9876420Z #6 extracting sha256:b8fb44047f2a37f86a5f6b5e48070a7d913119ce8f1b209cb835655226264209 done
2025-03-10T21:07:52.9877901Z #6 extracting sha256:e0edd909f3e7692f076d353fc1fe5c12f1c94db3cde6d2c554c3c65f97cdba45 done
2025-03-10T21:07:52.9879391Z #6 extracting sha256:696b3568325ca8bac8e3cb71d242fae67bc3366bace97cd62c04e6616ffbb793 0.1s
2025-03-10T21:07:53.0964921Z #6 extracting sha256:696b3568325ca8bac8e3cb71d242fae67bc3366bace97cd62c04e6616ffbb793 0.2s done
2025-03-10T21:07:53.0966437Z #6 extracting sha256:aae4123c72b3c4dbad7c6ce805c7e43be3ed6021d036da1aa20e114328e622f1
2025-03-10T21:07:53.2336035Z #6 extracting sha256:aae4123c72b3c4dbad7c6ce805c7e43be3ed6021d036da1aa20e114328e622f1 done
2025-03-10T21:07:53.2337437Z #6 extracting sha256:eca80691327dc1b41c3dc3fd8587c1d7f4a686e35d9c9b8cf1f76f3e98034f31 done
2025-03-10T21:07:53.2338833Z #6 extracting sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 0.1s
2025-03-10T21:07:53.9853590Z #6 extracting sha256:1f3afd71a730c8fad779d95aab92b3b3a1ae12d10e5bd3b2b9e37448dc3c0fd7 0.7s done
2025-03-10T21:07:53.9908804Z #6 extracting sha256:f21a33964add14269b10f44dd466bc3c02ceda0b65e353edcb19eb33c863aea0
2025-03-10T21:07:54.2114077Z #6 extracting sha256:f21a33964add14269b10f44dd466bc3c02ceda0b65e353edcb19eb33c863aea0 done
2025-03-10T21:07:54.2115247Z #6 extracting sha256:97dc3a0172b64618b6019d8c9dfd03bdd3bdf91bd80aebffaa5a92c8ae5bff3c done
2025-03-10T21:07:54.2115995Z #6 DONE 2.8s
2025-03-10T21:07:54.2116206Z 
2025-03-10T21:07:54.2116504Z #7 [2/3] RUN apk add --update --no-cache bash sshpass
2025-03-10T21:07:54.2117547Z #7 0.137 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
2025-03-10T21:07:54.4348878Z #7 0.211 fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
2025-03-10T21:07:54.5590589Z #7 0.485 (1/3) Installing readline (8.2.13-r0)
2025-03-10T21:07:54.6875173Z #7 0.494 (2/3) Installing bash (5.2.37-r0)
2025-03-10T21:07:54.6875998Z #7 0.511 Executing bash-5.2.37-r0.post-install
2025-03-10T21:07:54.6876761Z #7 0.513 (3/3) Installing sshpass (1.10-r0)
2025-03-10T21:07:54.6877501Z #7 0.522 Executing busybox-1.37.0-r12.trigger
2025-03-10T21:07:54.6878214Z #7 0.529 OK: 41 MiB in 77 packages
2025-03-10T21:07:54.6878825Z #7 DONE 0.6s
2025-03-10T21:07:54.8604762Z 
2025-03-10T21:07:54.8605815Z #8 [3/3] COPY src/ /src
2025-03-10T21:07:54.8606566Z #8 DONE 0.0s
2025-03-10T21:07:54.8606924Z 
2025-03-10T21:07:54.8607231Z #9 exporting to image
2025-03-10T21:07:54.8607910Z #9 exporting layers
2025-03-10T21:07:55.0080632Z #9 exporting layers 0.3s done
2025-03-10T21:07:55.0296165Z #9 writing image sha256:ef44636cc607dc8ce201802ef13168b339bb2bc2e92c97c889c14f92668d8432 done
2025-03-10T21:07:55.0297583Z #9 naming to docker.io/library/9b756f:f30d07c867704abda75191f454bd6b31 done
2025-03-10T21:07:55.0298431Z #9 DONE 0.3s
2025-03-10T21:07:55.0352509Z ##[endgroup]
2025-03-10T21:07:55.0611038Z ##[group]Run actions/checkout@v4
2025-03-10T21:07:55.0611763Z with:
2025-03-10T21:07:55.0612108Z   repository: AUBGTheHUB/monolith
2025-03-10T21:07:55.0612637Z   token: ***
2025-03-10T21:07:55.0612962Z   ssh-strict: true
2025-03-10T21:07:55.0613287Z   ssh-user: git
2025-03-10T21:07:55.0613616Z   persist-credentials: true
2025-03-10T21:07:55.0613978Z   clean: true
2025-03-10T21:07:55.0614338Z   sparse-checkout-cone-mode: true
2025-03-10T21:07:55.0614741Z   fetch-depth: 1
2025-03-10T21:07:55.0615065Z   fetch-tags: false
2025-03-10T21:07:55.0615393Z   show-progress: true
2025-03-10T21:07:55.0615726Z   lfs: false
2025-03-10T21:07:55.0616038Z   submodules: false
2025-03-10T21:07:55.0616370Z   set-safe-directory: true
2025-03-10T21:07:55.0616910Z ##[endgroup]
2025-03-10T21:07:55.2383909Z Syncing repository: AUBGTheHUB/monolith
2025-03-10T21:07:55.2385897Z ##[group]Getting Git version info
2025-03-10T21:07:55.2386786Z Working directory is '/home/runner/work/monolith/monolith'
2025-03-10T21:07:55.2388237Z [command]/usr/bin/git version
2025-03-10T21:07:55.2402002Z git version 2.48.1
2025-03-10T21:07:55.2430430Z ##[endgroup]
2025-03-10T21:07:55.2449618Z Temporarily overriding HOME='/home/runner/work/_temp/bbc0139e-f138-4418-a805-24151cdcae9a' before making global git config changes
2025-03-10T21:07:55.2450684Z Adding repository directory to the temporary git global config as a safe directory
2025-03-10T21:07:55.2454721Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/monolith/monolith
2025-03-10T21:07:55.2490459Z Deleting the contents of '/home/runner/work/monolith/monolith'
2025-03-10T21:07:55.2494400Z ##[group]Initializing the repository
2025-03-10T21:07:55.2498431Z [command]/usr/bin/git init /home/runner/work/monolith/monolith
2025-03-10T21:07:55.2583473Z hint: Using 'master' as the name for the initial branch. This default branch name
2025-03-10T21:07:55.2584519Z hint: is subject to change. To configure the initial branch name to use in all
2025-03-10T21:07:55.2585211Z hint: of your new repositories, which will suppress this warning, call:
2025-03-10T21:07:55.2585762Z hint:
2025-03-10T21:07:55.2586190Z hint: 	git config --global init.defaultBranch <name>
2025-03-10T21:07:55.2586651Z hint:
2025-03-10T21:07:55.2587103Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2025-03-10T21:07:55.2587789Z hint: 'development'. The just-created branch can be renamed via this command:
2025-03-10T21:07:55.2588355Z hint:
2025-03-10T21:07:55.2588710Z hint: 	git branch -m <name>
2025-03-10T21:07:55.2591714Z Initialized empty Git repository in /home/runner/work/monolith/monolith/.git/
2025-03-10T21:07:55.2601948Z [command]/usr/bin/git remote add origin https://github.com/AUBGTheHUB/monolith
2025-03-10T21:07:55.2635875Z ##[endgroup]
2025-03-10T21:07:55.2636490Z ##[group]Disabling automatic garbage collection
2025-03-10T21:07:55.2639728Z [command]/usr/bin/git config --local gc.auto 0
2025-03-10T21:07:55.2667083Z ##[endgroup]
2025-03-10T21:07:55.2667649Z ##[group]Setting up auth
2025-03-10T21:07:55.2674318Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-03-10T21:07:55.2703305Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-03-10T21:07:55.3029424Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-03-10T21:07:55.3059688Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-03-10T21:07:55.3291219Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2025-03-10T21:07:55.3327215Z ##[endgroup]
2025-03-10T21:07:55.3327883Z ##[group]Fetching the repository
2025-03-10T21:07:55.3335738Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +c8e2935818f624c54336c8acdeb74554ec41fcc2:refs/remotes/origin/main
2025-03-10T21:07:56.2512299Z From https://github.com/AUBGTheHUB/monolith
2025-03-10T21:07:56.2513809Z  * [new ref]         c8e2935818f624c54336c8acdeb74554ec41fcc2 -> origin/main
2025-03-10T21:07:56.2541368Z ##[endgroup]
2025-03-10T21:07:56.2542388Z ##[group]Determining the checkout info
2025-03-10T21:07:56.2543982Z ##[endgroup]
2025-03-10T21:07:56.2549326Z [command]/usr/bin/git sparse-checkout disable
2025-03-10T21:07:56.2589639Z [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
2025-03-10T21:07:56.2618789Z ##[group]Checking out the ref
2025-03-10T21:07:56.2622286Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2025-03-10T21:07:56.4074168Z Switched to a new branch 'main'
2025-03-10T21:07:56.4076349Z branch 'main' set up to track 'origin/main'.
2025-03-10T21:07:56.4092156Z ##[endgroup]
2025-03-10T21:07:56.4132978Z [command]/usr/bin/git log -1 --format=%H
2025-03-10T21:07:56.4157150Z c8e2935818f624c54336c8acdeb74554ec41fcc2
2025-03-10T21:07:56.4363135Z ##[group]Run echo "GIT_COMMIT_HASH=c8e2935818f624c54336c8acdeb74554ec41fcc2" >> ./envfile
2025-03-10T21:07:56.4363965Z �[36;1mecho "GIT_COMMIT_HASH=c8e2935818f624c54336c8acdeb74554ec41fcc2" >> ./envfile�[0m
2025-03-10T21:07:56.4414648Z shell: /usr/bin/bash -e {0}
2025-03-10T21:07:56.4415042Z ##[endgroup]
2025-03-10T21:07:56.4564644Z ##[group]Run cssnr/stack-deploy-action@v1
2025-03-10T21:07:56.4565086Z with:
2025-03-10T21:07:56.4565397Z   name: monolith
2025-03-10T21:07:56.4565734Z   file: docker-swarm-stack.yml
2025-03-10T21:07:56.4566202Z   host: dev.thehub-aubg.com
2025-03-10T21:07:56.4566905Z   user: deploy
2025-03-10T21:07:56.4583081Z   ssh_key: ***
2025-03-10T21:07:56.4583606Z   env_file: ./envfile
2025-03-10T21:07:56.4584252Z   port: 22
2025-03-10T21:07:56.4584785Z   summary: true
2025-03-10T21:07:56.4585378Z ##[endgroup]
2025-03-10T21:07:56.4695876Z ##[command]/usr/bin/docker run --name b756ff30d07c867704abda75191f454bd6b31_4723b6 --label 9b756f --workdir /github/workspace --rm -e "INPUT_NAME" -e "INPUT_FILE" -e "INPUT_HOST" -e "INPUT_USER" -e "INPUT_SSH_KEY" -e "INPUT_ENV_FILE" -e "INPUT_PORT" -e "INPUT_PASS" -e "INPUT_REGISTRY_AUTH" -e "INPUT_REGISTRY_HOST" -e "INPUT_REGISTRY_USER" -e "INPUT_REGISTRY_PASS" -e "INPUT_SUMMARY" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/monolith/monolith":"/github/workspace" 9b756f:f30d07c867704abda75191f454bd6b31
2025-03-10T21:07:56.7280356Z ##[group]Starting Stack Deploy Action
2025-03-10T21:07:56.7290225Z User: root
2025-03-10T21:07:56.7292274Z Script: /src/main.sh
2025-03-10T21:07:56.7296401Z Current Directory: /github/workspace
2025-03-10T21:07:56.7297583Z Home Directory: /github/home
2025-03-10T21:07:56.7298606Z SSH Directory: /root/.ssh
2025-03-10T21:08:01.9955100Z Post job cleanup.
2025-03-10T21:08:02.1055657Z [command]/usr/bin/git version
2025-03-10T21:08:02.1094327Z git version 2.48.1
2025-03-10T21:08:02.1143492Z Temporarily overriding HOME='/home/runner/work/_temp/50c40d99-702c-484d-97ec-945b81cc7157' before making global git config changes
2025-03-10T21:08:02.1144961Z Adding repository directory to the temporary git global config as a safe directory
2025-03-10T21:08:02.1149383Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/monolith/monolith
2025-03-10T21:08:02.1185644Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2025-03-10T21:08:02.1218068Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2025-03-10T21:08:02.1452759Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2025-03-10T21:08:02.1473200Z http.https://github.com/.extraheader
2025-03-10T21:08:02.1485171Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2025-03-10T21:08:02.1517127Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2025-03-10T21:08:02.1858382Z Evaluate and set environment url
2025-03-10T21:08:02.1863031Z Evaluated environment url: https://dev.thehub-aubg.com
2025-03-10T21:08:02.1864272Z Cleaning up orphan processes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions