Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

push to docker workflow fails in test phase #235

Closed
AndreasAugustin opened this issue Dec 5, 2022 · 0 comments · Fixed by #272
Closed

push to docker workflow fails in test phase #235

AndreasAugustin opened this issue Dec 5, 2022 · 0 comments · Fixed by #272
Labels
bug Something isn't working help wanted Extra attention is needed
Milestone

Comments

@AndreasAugustin
Copy link
Owner

Describe the bug
The docker push workflow fails in the test phase after the push

Run echo "Install container tools"
  echo "Install container tools"
  curl -LO https://storage.googleapis.com/container-structure-test/latest/container-structure-test-linux-amd64 \
    && chmod +x container-structure-test-linux-amd64 \
    && sudo mv container-structure-test-linux-amd64 /usr/local/bin/container-structure-test
  echo "Run tests"
  container-structure-test test \
    --image ghcr.io/andreasaugustin/actions-template-sync:main \
    --pull --config src/test-config.yaml
  shell: /usr/bin/bash -e {0}
Install container tools
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 14.3M  100 14.3M    0     0  3[2](https://github.com/AndreasAugustin/actions-template-sync/actions/runs/3623570253/jobs/6109588041#step:8:2).7M      0 --:--:-- --:--:-- --:--:-- [3](https://github.com/AndreasAugustin/actions-template-sync/actions/runs/3623570253/jobs/6109588041#step:8:3)2.7M
Run tests
time="2022-12-05T20:07:06Z" level=fatal msg="error pulling remote image ghcr.io/andreasaugustin/actions-template-sync:main: API error ([4](https://github.com/AndreasAugustin/actions-template-sync/actions/runs/3623570253/jobs/6109588041#step:8:4)04): pull access denied for andreasaugustin/actions-template-sync, repository does not exist or may require 'docker login': denied: requested access to the resource is denied"
Error: Process completed with exit code 1.

To Reproduce

When the github action kicks in (on push to some branches) the action fails in last step

Expected behavior
The test does not fail

Screenshots

image

Additional context
The push itself is working. Maybe it is a timing related issue

@AndreasAugustin AndreasAugustin added the bug Something isn't working label Dec 5, 2022
@AndreasAugustin AndreasAugustin added help wanted Extra attention is needed good first issue Good for newcomers labels Dec 5, 2022
@AndreasAugustin AndreasAugustin added this to the v0.7.0 milestone Dec 5, 2022
@AndreasAugustin AndreasAugustin removed the good first issue Good for newcomers label Dec 5, 2022
AndreasAugustin added a commit that referenced this issue Dec 31, 2022
AndreasAugustin added a commit that referenced this issue Dec 31, 2022
AndreasAugustin added a commit that referenced this issue Dec 31, 2022
* fix(): small trial for a fix 🐛

* fix(): small trial for a fix 🐛

* fix(): small trial for a fix 🐛

* fix(): small trial for a fix 🐛

* fix(): small trial for a fix 🐛

* fix(): small trial for a fix 🐛

* fix(): #235 docker image test 🐛

* fix(): #235 docker image test 🐛
@github-project-automation github-project-automation bot moved this from To do to Done in actions-template-sync Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Development

Successfully merging a pull request may close this issue.

1 participant