ci: install docker CLI before building images
Build and push runner images / build-runners (pull_request) Failing after 5s
Build and push runner images / build-runners (pull_request) Failing after 5s
This commit is contained in:
@@ -22,7 +22,12 @@ jobs:
|
|||||||
REGISTRY: forgejo.riotpiao.com
|
REGISTRY: forgejo.riotpiao.com
|
||||||
IMAGE_BASE: forgejo.riotpiao.com/rock
|
IMAGE_BASE: forgejo.riotpiao.com/rock
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repository (base image, no Node.js required)
|
- name: Install docker CLI
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add --no-cache docker
|
||||||
|
|
||||||
|
- name: Clone repository
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 https://forgejo.riotpiao.com/rock/homelab.git .
|
git clone --depth 1 https://forgejo.riotpiao.com/rock/homelab.git .
|
||||||
|
|
||||||
@@ -31,7 +36,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
SHORT_SHA=$(git rev-parse --short HEAD)
|
SHORT_SHA=$(git rev-parse --short HEAD)
|
||||||
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
|
echo "short_sha=${SHORT_SHA}" >> $GITHUB_OUTPUT
|
||||||
echo "Got SHA: ${SHORT_SHA}"
|
|
||||||
|
|
||||||
- name: Build all runner images (test on PR, push on main)
|
- name: Build all runner images (test on PR, push on main)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user