This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
automatizace:github [2023/06/02 15:49] tomas [root sekce] |
automatizace:github [2023/12/21 12:20] (current) tomas [root sekce] |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====Runner==== | ||
+ | |||
+ | %%VERSION=2.311.0 curl -o actions-runner.tar.gz -L " | ||
+ | tar xzf ./ | ||
+ | %%./ | ||
+ | sudo ./svc.sh install ... instalace služby\\ | ||
+ | sudo ./svc.sh start ... spuštění služby\\ | ||
+ | |||
+ | |||
==== Struktura ==== | ==== Struktura ==== | ||
definuje se v .github/ | definuje se v .github/ | ||
Line 31: | Line 40: | ||
%%push.branches: | %%push.branches: | ||
pull_request.branches: | pull_request.branches: | ||
- | workflow_dispach: | + | workflow_dispach: |
=== workflow_call === | === workflow_call === | ||
Line 81: | Line 90: | ||
== run == | == run == | ||
spustí příkaz\\ | spustí příkaz\\ | ||
+ | |||
+ | == github == | ||
+ | run: gh repo list aaa | ||
+ | env.GITHUB_TOKEN: | ||
== actions/ | == actions/ | ||
Line 105: | Line 118: | ||
with.username: | with.username: | ||
with.password: | with.password: | ||
+ | |||
+ | == docker/ | ||
+ | with.context: | ||
+ | with.push: true\\ | ||
+ | with.tags: aa/bb:cc\\ |