ci: fix docker login action in cron job

This commit is contained in:
LongYinan 2020-06-12 11:00:27 +08:00
parent 8f3d2dce5a
commit 8783ce7a5f
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881

View file

@ -13,7 +13,8 @@ jobs:
- uses: actions/checkout@v2
- name: Login to registry
uses: actions/docker/login@master
run: |
docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD $DOCKER_REGISTRY_URL
env:
DOCKER_REGISTRY_URL: docker.pkg.github.com
DOCKER_USERNAME: ${{ github.actor }}