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

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