mirror of
https://github.com/lukaszraczylo/shared-actions.git
synced 2026-06-06 22:49:21 +00:00
d1f628c196
goreleaser Pro's --split mode pushes Docker images during the per-target build job (see 'pushing docker images from partial release' in goreleaser output). The shared workflow previously only logged in to ghcr.io during the merge job, so the build-phase push failed with 'unauthorized: unauthenticated: User cannot be authenticated with the token provided'. Added docker/login-action + docker/setup-buildx-action to the build step, gated on matrix.goos == 'linux' since Docker images are Linux-only in every consumer of this workflow. Uses the default GITHUB_TOKEN, which has packages:write per the existing permissions block.