mirror of
https://github.com/addnab/docker-run-action.git
synced 2024-12-26 18:51:03 +08:00
docs: using github variables instead of env
This commit is contained in:
parent
e10bcda95f
commit
6f0804dd49
@ -14,7 +14,7 @@
|
|||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
registry: gcr.io
|
registry: gcr.io
|
||||||
image: private-image:latest
|
image: private-image:latest
|
||||||
options: -v $GITHUB_WORKSPACE:/work -e ABC=123
|
options: -v ${{ github.workspace }}:/work -e ABC=123
|
||||||
run: |
|
run: |
|
||||||
echo "Running Script"
|
echo "Running Script"
|
||||||
/work/run-script
|
/work/run-script
|
||||||
|
Loading…
x
Reference in New Issue
Block a user