Secure docker password
This commit is contained in:
Родитель
c720d1d090
Коммит
90cabcd4e6
|
@ -37,7 +37,7 @@ jobs:
|
|||
uses: actions/checkout@v1
|
||||
|
||||
- name: Login to docker
|
||||
run: docker login docker.pkg.github.com -u github-actions -p ${{ secrets.GITHUB_TOKEN }}
|
||||
run: echo ${{ secrets.GITHUB_TOKEN }} | docker login docker.pkg.github.com -u github-actions --password-stdin
|
||||
|
||||
- name: Build Images & Run Queries
|
||||
run: cd templates/action && ../../scripts/test-course-actual.sh
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
docker login docker.pkg.github.com -u github-actions -p ${GITHUB_TOKEN}
|
||||
echo ${GITHUB_TOKEN} | docker login docker.pkg.github.com -u github-actions --password-stdin
|
||||
|
||||
PREV_IMAGE_VERSION=v0.0.10
|
||||
IMAGE_VERSION=v1.0.0
|
||||
|
|
Загрузка…
Ссылка в новой задаче