Open
Description
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 Deploy
uses: cssnr/stack-deploy-action@v1
with:
name: zenfulstats
file: docker-stack.yaml
host: zenful.site
user: deploy
ssh_key: ${{ secrets.DEPLOY_SSH_PRIVATE_KEY }}
env_file: ./envfile
registry_auth: true
registry_host: "ghcr.io"
registry_user: ${{ github.actor }} # or your specific GitHub username
registry_pass: ${{ secrets.GITHUB_TOKEN }} # or ${{ secrets.USER_PAT }}
Metadata
Metadata
Assignees
Labels
No labels