ci: fix docker login action in cron job
This commit is contained in:
parent
8f3d2dce5a
commit
8783ce7a5f
1 changed files with 3 additions and 2 deletions
3
.github/workflows/docker.yaml
vendored
3
.github/workflows/docker.yaml
vendored
|
@ -13,7 +13,8 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Login to registry
|
- name: Login to registry
|
||||||
uses: actions/docker/login@master
|
run: |
|
||||||
|
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY_URL
|
||||||
env:
|
env:
|
||||||
DOCKER_REGISTRY_URL: docker.pkg.github.com
|
DOCKER_REGISTRY_URL: docker.pkg.github.com
|
||||||
DOCKER_USERNAME: ${{ github.actor }}
|
DOCKER_USERNAME: ${{ github.actor }}
|
||||||
|
|
Loading…
Reference in a new issue