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

README publication is not working :-( #9

Open
wraithrmm opened this issue Oct 23, 2020 · 2 comments
Open

README publication is not working :-( #9

wraithrmm opened this issue Oct 23, 2020 · 2 comments

Comments

@wraithrmm
Copy link
Contributor

If anyone knows how to resolve this, please let me know.

This action does not currently work:

https://github.com/project-alice-assistant/project-alice-docker/blob/master/.github/workflows/master-docker-readme-publish.yml

It gives the following error:

2020-10-23T10:09:39.2977711Z ##[section]Starting: Request a runner to run this job
2020-10-23T10:09:39.6287042Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-10-23T10:09:39.6287158Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-10-23T10:09:39.6287621Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-10-23T10:09:39.8588514Z ##[section]Finishing: Request a runner to run this job
2020-10-23T10:09:46.1926390Z Current runner version: '2.273.5'
2020-10-23T10:09:46.1956888Z ##[group]Operating System
2020-10-23T10:09:46.1957728Z Ubuntu
2020-10-23T10:09:46.1958064Z 18.04.5
2020-10-23T10:09:46.1958370Z LTS
2020-10-23T10:09:46.1958703Z ##[endgroup]
2020-10-23T10:09:46.1959145Z ##[group]Virtual Environment
2020-10-23T10:09:46.1959651Z Environment: ubuntu-18.04
2020-10-23T10:09:46.1960069Z Version: 20201015.1
2020-10-23T10:09:46.1960952Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201015.1/images/linux/Ubuntu1804-README.md
2020-10-23T10:09:46.1961793Z ##[endgroup]
2020-10-23T10:09:46.1963014Z Prepare workflow directory
2020-10-23T10:09:46.2147815Z Prepare all required actions
2020-10-23T10:09:46.2157851Z Getting action download info
2020-10-23T10:09:46.4415805Z Download action repository 'peter-evans/[email protected]'
2020-10-23T10:09:48.5737772Z ##[group]Run peter-evans/[email protected]
2020-10-23T10:09:48.5738490Z with:
2020-10-23T10:09:48.5739137Z   username: ***
2020-10-23T10:09:48.5739707Z   password: ***
2020-10-23T10:09:48.5740218Z   repository: assistantprojectalice/main-unit
2020-10-23T10:09:48.5740719Z ##[endgroup]
2020-10-23T10:09:48.9370861Z ##[error]ENOENT: no such file or directory, open './README.md'
2020-10-23T10:09:48.9407687Z Cleaning up orphan processes
@wraithrmm
Copy link
Contributor Author

OK, so I added a call the the checkout action and this allowed it to progress and it even reported success, however the readme did not actually get updated in DockerHub.

2020-10-23T10:36:12.6114686Z ##[section]Starting: Request a runner to run this job
2020-10-23T10:36:12.9321677Z Can't find any online and idle self-hosted runner in current repository that matches the required labels: 'ubuntu-latest'
2020-10-23T10:36:12.9321803Z Can't find any online and idle self-hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-10-23T10:36:12.9322090Z Found online and idle hosted runner in current repository's account/organization that matches the required labels: 'ubuntu-latest'
2020-10-23T10:36:13.2803214Z ##[section]Finishing: Request a runner to run this job
2020-10-23T10:36:20.1500470Z Current runner version: '2.273.5'
2020-10-23T10:36:20.1531818Z ##[group]Operating System
2020-10-23T10:36:20.1532654Z Ubuntu
2020-10-23T10:36:20.1533007Z 18.04.5
2020-10-23T10:36:20.1533327Z LTS
2020-10-23T10:36:20.1533690Z ##[endgroup]
2020-10-23T10:36:20.1534118Z ##[group]Virtual Environment
2020-10-23T10:36:20.1534772Z Environment: ubuntu-18.04
2020-10-23T10:36:20.1535698Z Version: 20201015.1
2020-10-23T10:36:20.1536594Z Included Software: https://github.com/actions/virtual-environments/blob/ubuntu18/20201015.1/images/linux/Ubuntu1804-README.md
2020-10-23T10:36:20.1537305Z ##[endgroup]
2020-10-23T10:36:20.1538396Z Prepare workflow directory
2020-10-23T10:36:20.1724010Z Prepare all required actions
2020-10-23T10:36:20.1735440Z Getting action download info
2020-10-23T10:36:20.4278396Z Download action repository 'actions/checkout@master'
2020-10-23T10:36:22.4937408Z Download action repository 'peter-evans/[email protected]'
2020-10-23T10:36:22.8207492Z ##[group]Run actions/checkout@master
2020-10-23T10:36:22.8208490Z with:
2020-10-23T10:36:22.8209430Z   repository: project-alice-assistant/project-alice-docker
2020-10-23T10:36:22.8210330Z   token: ***
2020-10-23T10:36:22.8210711Z   ssh-strict: true
2020-10-23T10:36:22.8211171Z   persist-credentials: true
2020-10-23T10:36:22.8211610Z   clean: true
2020-10-23T10:36:22.8211991Z   fetch-depth: 1
2020-10-23T10:36:22.8212549Z   lfs: false
2020-10-23T10:36:22.8212912Z   submodules: false
2020-10-23T10:36:22.8213281Z ##[endgroup]
2020-10-23T10:36:23.5100391Z Syncing repository: project-alice-assistant/project-alice-docker
2020-10-23T10:36:23.5101295Z ##[group]Getting Git version info
2020-10-23T10:36:23.5102309Z Working directory is '/home/runner/work/project-alice-docker/project-alice-docker'
2020-10-23T10:36:23.5103011Z [command]/usr/bin/git version
2020-10-23T10:36:23.5103391Z git version 2.28.0
2020-10-23T10:36:23.5104200Z ##[endgroup]
2020-10-23T10:36:23.5105244Z Deleting the contents of '/home/runner/work/project-alice-docker/project-alice-docker'
2020-10-23T10:36:23.5106533Z ##[group]Initializing the repository
2020-10-23T10:36:23.5107489Z [command]/usr/bin/git init /home/runner/work/project-alice-docker/project-alice-docker
2020-10-23T10:36:23.5109061Z Initialized empty Git repository in /home/runner/work/project-alice-docker/project-alice-docker/.git/
2020-10-23T10:36:23.5110492Z [command]/usr/bin/git remote add origin https://github.com/project-alice-assistant/project-alice-docker
2020-10-23T10:36:23.5111283Z ##[endgroup]
2020-10-23T10:36:23.5111759Z ##[group]Disabling automatic garbage collection
2020-10-23T10:36:23.5112506Z [command]/usr/bin/git config --local gc.auto 0
2020-10-23T10:36:23.5112952Z ##[endgroup]
2020-10-23T10:36:23.5114573Z ##[group]Setting up auth
2020-10-23T10:36:23.5115567Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-10-23T10:36:23.5116828Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-10-23T10:36:23.5118038Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-10-23T10:36:23.5119921Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-10-23T10:36:23.5122151Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2020-10-23T10:36:23.5122945Z ##[endgroup]
2020-10-23T10:36:23.5123368Z ##[group]Fetching the repository
2020-10-23T10:36:23.5124724Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +d9184576dfe3d148a9d7ae6ebaf07bb7e04223de:refs/remotes/origin/master
2020-10-23T10:36:23.6053440Z remote: Enumerating objects: 26, done.        
2020-10-23T10:36:23.6054863Z remote: Counting objects:   3% (1/26)        
2020-10-23T10:36:23.6055904Z remote: Counting objects:   7% (2/26)        
2020-10-23T10:36:23.6056730Z remote: Counting objects:  11% (3/26)        
2020-10-23T10:36:23.6057367Z remote: Counting objects:  15% (4/26)        
2020-10-23T10:36:23.6057967Z remote: Counting objects:  19% (5/26)        
2020-10-23T10:36:23.6058686Z remote: Counting objects:  23% (6/26)        
2020-10-23T10:36:23.6059319Z remote: Counting objects:  26% (7/26)        
2020-10-23T10:36:23.6060403Z remote: Counting objects:  30% (8/26)        
2020-10-23T10:36:23.6062238Z remote: Counting objects:  34% (9/26)        
2020-10-23T10:36:23.6062931Z remote: Counting objects:  38% (10/26)        
2020-10-23T10:36:23.6063688Z remote: Counting objects:  42% (11/26)        
2020-10-23T10:36:23.6064478Z remote: Counting objects:  46% (12/26)        
2020-10-23T10:36:23.6065145Z remote: Counting objects:  50% (13/26)        
2020-10-23T10:36:23.6066116Z remote: Counting objects:  53% (14/26)        
2020-10-23T10:36:23.6066769Z remote: Counting objects:  57% (15/26)        
2020-10-23T10:36:23.6067401Z remote: Counting objects:  61% (16/26)        
2020-10-23T10:36:23.6067988Z remote: Counting objects:  65% (17/26)        
2020-10-23T10:36:23.6068584Z remote: Counting objects:  69% (18/26)        
2020-10-23T10:36:23.6069158Z remote: Counting objects:  73% (19/26)        
2020-10-23T10:36:23.6069724Z remote: Counting objects:  76% (20/26)        
2020-10-23T10:36:23.6070377Z remote: Counting objects:  80% (21/26)        
2020-10-23T10:36:23.6070958Z remote: Counting objects:  84% (22/26)        
2020-10-23T10:36:23.6071515Z remote: Counting objects:  88% (23/26)        
2020-10-23T10:36:23.6072089Z remote: Counting objects:  92% (24/26)        
2020-10-23T10:36:23.6072691Z remote: Counting objects:  96% (25/26)        
2020-10-23T10:36:23.6073256Z remote: Counting objects: 100% (26/26)        
2020-10-23T10:36:23.6073909Z remote: Counting objects: 100% (26/26), done.        
2020-10-23T10:36:23.6074758Z remote: Compressing objects:   4% (1/24)        
2020-10-23T10:36:23.6075378Z remote: Compressing objects:   8% (2/24)        
2020-10-23T10:36:23.6075841Z remote: Compressing objects:  12% (3/24)        
2020-10-23T10:36:23.6076285Z remote: Compressing objects:  16% (4/24)        
2020-10-23T10:36:23.6112892Z remote: Compressing objects:  20% (5/24)        
2020-10-23T10:36:23.6113807Z remote: Compressing objects:  25% (6/24)        
2020-10-23T10:36:23.6114588Z remote: Compressing objects:  29% (7/24)        
2020-10-23T10:36:23.6115483Z remote: Compressing objects:  33% (8/24)        
2020-10-23T10:36:23.6116580Z remote: Compressing objects:  37% (9/24)        
2020-10-23T10:36:23.6117223Z remote: Compressing objects:  41% (10/24)        
2020-10-23T10:36:23.6118005Z remote: Compressing objects:  45% (11/24)        
2020-10-23T10:36:23.6118464Z remote: Compressing objects:  50% (12/24)        
2020-10-23T10:36:23.6119756Z remote: Compressing objects:  54% (13/24)        
2020-10-23T10:36:23.6120246Z remote: Compressing objects:  58% (14/24)        
2020-10-23T10:36:23.6120699Z remote: Compressing objects:  62% (15/24)        
2020-10-23T10:36:23.6121138Z remote: Compressing objects:  66% (16/24)        
2020-10-23T10:36:23.6121625Z remote: Compressing objects:  70% (17/24)        
2020-10-23T10:36:23.6122794Z remote: Compressing objects:  75% (18/24)        
2020-10-23T10:36:23.6123683Z remote: Compressing objects:  79% (19/24)        
2020-10-23T10:36:23.6124220Z remote: Compressing objects:  83% (20/24)        
2020-10-23T10:36:23.6124755Z remote: Compressing objects:  87% (21/24)        
2020-10-23T10:36:23.6125310Z remote: Compressing objects:  91% (22/24)        
2020-10-23T10:36:23.6125844Z remote: Compressing objects:  95% (23/24)        
2020-10-23T10:36:23.6126404Z remote: Compressing objects: 100% (24/24)        
2020-10-23T10:36:23.6126991Z remote: Compressing objects: 100% (24/24), done.        
2020-10-23T10:36:23.6167774Z remote: Total 26 (delta 5), reused 11 (delta 1), pack-reused 0
2020-10-23T10:36:23.6701366Z From https://github.com/project-alice-assistant/project-alice-docker
2020-10-23T10:36:23.6703219Z  * [new ref]         d9184576dfe3d148a9d7ae6ebaf07bb7e04223de -> origin/master
2020-10-23T10:36:23.6722519Z ##[endgroup]
2020-10-23T10:36:23.6723348Z ##[group]Determining the checkout info
2020-10-23T10:36:23.6725310Z ##[endgroup]
2020-10-23T10:36:23.6725699Z ##[group]Checking out the ref
2020-10-23T10:36:23.6730952Z [command]/usr/bin/git checkout --progress --force -B master refs/remotes/origin/master
2020-10-23T10:36:23.6816358Z Reset branch 'master'
2020-10-23T10:36:23.6817789Z Branch 'master' set up to track remote branch 'master' from 'origin'.
2020-10-23T10:36:23.6824686Z ##[endgroup]
2020-10-23T10:36:23.6868919Z [command]/usr/bin/git log -1 --format='%H'
2020-10-23T10:36:23.6897330Z 'd9184576dfe3d148a9d7ae6ebaf07bb7e04223de'
2020-10-23T10:36:23.7021242Z ##[group]Run peter-evans/[email protected]
2020-10-23T10:36:23.7021721Z with:
2020-10-23T10:36:23.7022463Z   username: ***
2020-10-23T10:36:23.7023162Z   password: ***
2020-10-23T10:36:23.7024079Z   repository: assistantprojectalice/main-unit
2020-10-23T10:36:23.7024569Z ##[endgroup]
2020-10-23T10:36:23.7502865Z Acquiring token
2020-10-23T10:36:23.9141490Z Sending PATCH request
2020-10-23T10:36:23.9903563Z Request successful
2020-10-23T10:36:24.0046146Z Post job cleanup.
2020-10-23T10:36:24.1170280Z [command]/usr/bin/git version
2020-10-23T10:36:24.1222095Z git version 2.28.0
2020-10-23T10:36:24.1253680Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2020-10-23T10:36:24.1282990Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :
2020-10-23T10:36:24.1526687Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2020-10-23T10:36:24.1552694Z http.https://github.com/.extraheader
2020-10-23T10:36:24.1559794Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2020-10-23T10:36:24.1590378Z [command]/usr/bin/git submodule foreach --recursive git config --local --name-only --get-regexp 'http\.https\:\/\/github\.com\/\.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :
2020-10-23T10:36:24.1888192Z Cleaning up orphan processes

For now I'm going to just wait a bit and see if it's some kind of lag or caching issue. Though all feedback is welcom.

@wraithrmm
Copy link
Contributor Author

This is because Docker Hub does not support the use of Personal Tokens over the Docker Hub API (only the Repo push).

As such, we must simply wait wait until DH add this support then it should just start working.

I'm leaving this open to allow us to re-visit this at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant