From 8783ce7a5fcd992289002ec3bfcb8758418a3aaa Mon Sep 17 00:00:00 2001 From: LongYinan Date: Fri, 12 Jun 2020 11:00:27 +0800 Subject: [PATCH] ci: fix docker login action in cron job --- .github/workflows/docker.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index a05517ae..25362803 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -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 }}