diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 60aaf4780d..b768337f00 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -73,7 +73,7 @@ jobs: if: github.event_name != 'pull_request' && vars.DOCKERHUB_REPOSITORY != '' uses: docker/login-action@v2 with: - username: ${{ vars.DOCKERHUB_USERNAME }} + username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Build container @@ -96,7 +96,7 @@ jobs: if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' && vars.DOCKERHUB_REPOSITORY != '' uses: peter-evans/dockerhub-description@v3 with: - username: ${{ vars.DOCKERHUB_USERNAME }} + username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} repository: ${{ vars.DOCKERHUB_REPOSITORY }} short-description: ${{ github.event.repository.description }}