mirror of
https://forgejo.merr.is/annika/isl-vue3.git
synced 2025-12-13 12:42:14 -05:00
Switching Actions Container Back To Alpine
This commit is contained in:
parent
a2be864314
commit
5e6d2c6d0c
1 changed files with 3 additions and 13 deletions
|
|
@ -18,21 +18,11 @@ jobs:
|
||||||
name: Build and push docker image
|
name: Build and push docker image
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: node:21-bookworm
|
image: node:21-alpine
|
||||||
steps:
|
steps:
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
run: |
|
shell: /bin/ash -e {0}
|
||||||
apt-get update
|
run: apk add --update docker git bash
|
||||||
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
|
|
||||||
- name: Check out the repo
|
- name: Check out the repo
|
||||||
uses: https://github.com/actions/checkout@v4
|
uses: https://github.com/actions/checkout@v4
|
||||||
- name: Get Metadata For Docker
|
- name: Get Metadata For Docker
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue