fix docker deploy
This commit is contained in:
parent
aba3763294
commit
b321c3a206
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue