fix docker deploy
CI / build-and-start (push) Successful in 45s Details
CI / deploy (push) Failing after 5s Details

This commit is contained in:
Иван 2026-03-10 22:15:28 +03:00
parent aba3763294
commit b321c3a206
1 changed files with 9 additions and 1 deletions

View File

@ -29,8 +29,16 @@ jobs:
needs: build-and-start
runs-on: [ubuntu-latest, docker]
container:
image: docker:24
image: node:20-bookworm
steps:
- name: Install Docker CLI
run: |
apt-get update -qq && apt-get install -y -qq ca-certificates curl
install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
chmod a644 /etc/apt/keyrings/docker.asc
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian bookworm stable" > /etc/apt/sources.list.d/docker.list
apt-get update -qq && apt-get install -y -qq docker-ce-cli docker-compose-plugin
- name: Checkout
uses: actions/checkout@v4
- name: Deploy with docker-compose