A full 10 months after clicking "Join Beta", I'm finally in.
Docs are scarce and already outdated, it's now yaml instead of hcl.
Right now, I like docker containers, so build on push:
1on: push
2jobs:
3 job1:
4 runs-on: ubuntu-latest
5 steps:
6 - uses: actions/checkout@master
7 - run: docker build -t some_image .
8 - run: docker login registry -u username -p $TOKEN
9 env:
10 TOKEN: ${{ secrets.SOME_SECRET }}
11 - run: docker push some_image
you get a vm with a bunch of outdated stuff installed
run commands with jobs.jobid.steps[x].run:
run actions with jobs.jobid.steps[x].uses:
js or a container with extra metadata for input/output validation, refer to by:
secrets are filtered from log output, yay? but now how do we debug?
apparently there's no way to set global substitutions?
also doesn't integrate well with the package registry beta
there are 3 ways to run a container as a step:
run: docker run some-image
uses: docker://some-image
uses: user/repo
(assuming a Dockerfile and action.yml exists)