Change build environment from debian to ubuntu-latest in GitHub Actions workflow
Build image / build (push) Successful in 1m29s
Build image / build (push) Successful in 1m29s
This commit is contained in:
1 parent
69be043f9d
commit
3a77bae21e
1 file changed
+5
-5
@@ -14,7 +14,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: debian
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
SERVER_URL: ${{ gitea.server_url }}
|
SERVER_URL: ${{ gitea.server_url }}
|
||||||
OWNER: ${{ gitea.repository_owner }}
|
OWNER: ${{ gitea.repository_owner }}
|
||||||
@@ -36,16 +36,16 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
|
NODE_EXTRA_CA_CERTS: /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
# node:24-trixie (Debian 13) has git and node but no Docker CLI. Install
|
# The Ubuntu runner image may not include the Docker CLI. Install the
|
||||||
# the CLI and buildx from Docker's apt repo; the daemon is the runner's.
|
# CLI and buildx from Docker's apt repo; the daemon is the runner's.
|
||||||
- name: Install Docker CLI
|
- name: Install Docker CLI
|
||||||
run: |
|
run: |
|
||||||
install -m 0755 -d /etc/apt/keyrings
|
install -m 0755 -d /etc/apt/keyrings
|
||||||
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||||
chmod a+r /etc/apt/keyrings/docker.asc
|
chmod a+r /etc/apt/keyrings/docker.asc
|
||||||
cat > /etc/apt/sources.list.d/docker.sources <<SRC
|
cat > /etc/apt/sources.list.d/docker.sources <<SRC
|
||||||
Types: deb
|
Types: deb
|
||||||
URIs: https://download.docker.com/linux/debian
|
URIs: https://download.docker.com/linux/ubuntu
|
||||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||||
Components: stable
|
Components: stable
|
||||||
Signed-By: /etc/apt/keyrings/docker.asc
|
Signed-By: /etc/apt/keyrings/docker.asc
|
||||||
|
|||||||
Reference in new issue
Block a user