Fix image-build: install docker-cli on runner host
Some checks failed
/ container-probe (push) Successful in 2s
Image Build Probe / image-build (push) Failing after 1s
/ probe (push) Successful in 0s

This commit is contained in:
forgejo_admin 2026-07-03 22:36:50 +00:00
parent 7ce1d4c965
commit 7f7c3e1ebf

View file

@ -10,6 +10,7 @@ on:
env:
REGISTRY: forgejo.coulomb.social
IMAGE_NAME: coulomb/forgejo-actions-probe
DOCKER_HOST: tcp://127.0.0.1:2375
jobs:
image-build:
@ -18,12 +19,16 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Install docker CLI
run: |
set -eu
apk add --no-cache docker-cli
docker version
- name: Login to Forgejo registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_TOKEN }}
run: |
set -eu
echo "${{ secrets.REGISTRY_TOKEN }}" | docker login "${REGISTRY}" -u "${{ secrets.REGISTRY_USER }}" --password-stdin
- name: Build and push
run: |