Skip to content

Commit 6f7cb18

Browse files
committed
pulling images first from the VPS
1 parent 20bb83e commit 6f7cb18

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build_server.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,15 @@ jobs:
122122
echo "🔍 Debug: Environment tag: $ENV_TAG"
123123
echo "🔍 Debug: Commit SHA: $SHA"
124124
125+
# First, verify we can pull images on the VPS
126+
echo "🔍 Verifying images on VPS..."
127+
ssh streameth@145.223.118.217 "
128+
echo '🔑 Logging into GitHub Container Registry...' && \
129+
echo '${{ secrets.TOKEN }}' | docker login ghcr.io -u ${{ github.actor }} --password-stdin && \
130+
echo '🔍 Attempting to pull server image...' && \
131+
docker pull ghcr.io/streamethorg/streameth-platform/server:${ENV_TAG}-${SHA}
132+
"
133+
125134
# Create Python script to process the YAML
126135
echo "📝 Creating Python script..."
127136
cat << EOF > process_compose.py

0 commit comments

Comments
 (0)