Switching Actions Container Back To Alpine

This commit is contained in:
Annika Merris 2024-02-05 09:52:15 -05:00
parent a2be864314
commit 5e6d2c6d0c

View file

@ -18,21 +18,11 @@ jobs:
name: Build and push docker image
runs-on: docker
container:
image: node:21-bookworm
image: node:21-alpine
steps:
- name: Install docker
run: |
apt-get update
apt-get install 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 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" | \
tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update
apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
shell: /bin/ash -e {0}
run: apk add --update docker git bash
- name: Check out the repo
uses: https://github.com/actions/checkout@v4
- name: Get Metadata For Docker