From 5873b35bdb90ac81db57df9880d265d2653f3f76 Mon Sep 17 00:00:00 2001 From: rock Date: Sun, 6 Sep 2026 06:42:35 -0700 Subject: [PATCH] ci: fix workflow - remove newline escape, simplify push conditional --- .gitea/workflows/build-runner-images.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/build-runner-images.yml b/.gitea/workflows/build-runner-images.yml index d9489db..6d3cc5e 100644 --- a/.gitea/workflows/build-runner-images.yml +++ b/.gitea/workflows/build-runner-images.yml @@ -44,7 +44,7 @@ jobs: done - name: Push images (main only) - if: github.event_name == 'push' && github.ref == 'refs/heads/main' + if: github.event_name == 'push' run: | echo "${REGISTRY_TOKEN}" | docker login "${REGISTRY}" \ --username "${REGISTRY_USER}" --password-stdin @@ -54,7 +54,7 @@ jobs: docker push "${IMAGE_BASE}/forgejo-runner-${RUNNER}:latest" echo "āœ… Pushed ${RUNNER}-runner" done - echo "\nāœ… All runner images pushed to registry" + echo "āœ… All runner images pushed to registry" env: REGISTRY_USER: ${{ secrets.FORGEJO_REGISTRY_USER }} REGISTRY_TOKEN: ${{ secrets.FORGEJO_REGISTRY_TOKEN }}