deployphp / deployer

The PHP deployment tool with support for popular frameworks out of the box
https://deployer.org
MIT License
10.58k stars 1.48k forks source link

failed to pull image "deployphp/deployer:7" with specified policies #3707

Closed ardzz closed 3 weeks ago

ardzz commented 12 months ago

Running with gitlab-runner 16.3.0~beta.108.g2b6048b4 (2b6048b4) on green-3.saas-linux-small-amd64.runners-manager.gitlab.com/default Jhc_Jxvh, system ID: s_0e6850b2bce1 feature flags: FF_USE_IMPROVED_URL_MASKING:true, FF_RESOLVE_FULL_TLS_CHAIN:false Preparing the "docker+machine" executor 00:05 Using Docker executor with image deployphp/deployer:7 ... Pulling docker image deployphp/deployer:7 ... WARNING: Failed to pull image with policy "always": Error response from daemon: pull access denied for deployphp/deployer, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (manager.go:237:0s) ERROR: Job failed: failed to pull image "deployphp/deployer:7" with specified policies [always]: Error response from daemon: pull access denied for deployphp/deployer, repository does not exist or may require 'docker login': denied: requested access to the resource is denied (manager.go:237:0s)

hpw to fix it?

Upvote & Fund

Fund with Polar

Schrank commented 12 months ago

It is new to me, that we have a deployer docker container? Can you tell me, where you found it?

ochorocho commented 12 months ago

I reckon this is why: https://deployer.org/docs/7.x/ci-cd#gitlab-cicd

stages:
  - deploy

deploy:
  stage: deploy
  image:
    name: deployphp/deployer:7 # <--- THIS
    entrypoint: [""]
  before_script:
    - mkdir -p ~/.ssh
    - eval $(ssh-agent -s)
    - echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
    - chmod 644 ~/.ssh/known_hosts
    - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - > /dev/null
  script:
    - dep deploy -vvv
  resource_group: production
  only:
    - master
ardzz commented 11 months ago

@ochorocho yes, you right

ardzz commented 11 months ago

but at the end, i use registry from registry.gitlab.com/pipeline-components/deployer:latest

github-actions[bot] commented 3 weeks ago

This issue has been automatically closed. Please, open a discussion for bug reports and feature requests.

Read more: [https://github.com/deployphp/deployer/discussions/3888]