For private repositories, additional registry authentication arguments are required for the --with-registry-auth flag to work properly with the stack-deploy-action.
The following registry configuration needs to be added:
- name: Docker Stack Deployuses: cssnr/stack-deploy-action@v1with:
name: zenfulstatsfile: docker-stack.yamlhost: zenful.siteuser: deployssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}env_file: ./envfileregistry_auth: trueregistry_host: "ghcr.io"registry_user: ${{ github.actor }} # or your specific GitHub usernameregistry_pass: ${{ secrets.GITHUB_TOKEN }} # or ${{ secrets.USER_PAT }}
For private repositories, additional registry authentication arguments are required for the
--with-registry-authflag to work properly with the stack-deploy-action.The following registry configuration needs to be added: