Maybe If I Use the Debian Base?

This commit is contained in:
Annika Merris 2024-02-04 21:18:47 -05:00
parent 5732c5102c
commit fa9515147b

View file

@ -18,11 +18,21 @@ jobs:
name: Build and push docker image
runs-on: docker
container:
image: node:21-alpine
image: node:21-debian
steps:
- name: Install docker
shell: /bin/ash -e {0}
run: apk add --update docker git bash
run: |
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: Check out the repo
uses: https://github.com/actions/checkout@v4
- name: Get Metadata For Docker