mirror of
https://gitea.com/gitea/act_runner.git
synced 2026-10-31 12:28:20 +08:00
- Docker actions evaluate `runs.args` and `runs.env` with their own `inputs`, so a same-named `workflow_dispatch` input no longer replaces the step's `with:` value - Dockerfile action images are tagged per step and job and removed afterwards, so changed Dockerfiles rebuild and concurrent jobs never share an image - Workflow and job `env` are evaluated before job and service container credentials and service `env` use them - Docker actions in host jobs get the host workspace and file-command directory mounted, and no longer inherit the runner's own `PATH` - Cache server address detection accepts a single interface address Fixes: https://gitea.com/gitea/runner/issues/390 Fixes: https://gitea.com/gitea/runner/issues/406 Fixes: https://gitea.com/gitea/runner/issues/578 Related: https://gitea.com/gitea/runner/issues/64 Reviewed-on: https://gitea.com/gitea/runner/pulls/1268 Reviewed-by: bircni <bircni@icloud.com> Co-authored-by: silverwind <me@silverwind.io>
27 lines
779 B
YAML
27 lines
779 B
YAML
name: uses-docker-url
|
|
on: push
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- run: printf 'workspace=from-host-step\n' > workspace-marker
|
|
- uses: docker://node:24-bookworm-slim
|
|
with:
|
|
somekey: somevalue
|
|
args: echo ${INPUT_SOMEKEY} | grep somevalue
|
|
- uses: docker://node:24-bookworm-slim
|
|
with:
|
|
args: -v
|
|
- uses: docker://node:24-bookworm-slim
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: -c -- uname -a
|
|
- id: workspace
|
|
uses: docker://node:24-bookworm-slim
|
|
with:
|
|
entrypoint: /bin/sh
|
|
args: -c 'uname -a && cat "$GITHUB_WORKSPACE/workspace-marker" >> "$GITHUB_OUTPUT"'
|
|
- run: test '${{ steps.workspace.outputs.workspace }}' = 'from-host-step'
|
|
|