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
5
.github/workflows/docker.yaml
vendored
5
.github/workflows/docker.yaml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue