Skip to content

cssnr/stack-deploy-action: registry authentication not working for private repositories without additional configuration #2

Description

@guilhermeprokisch

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 }}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions