Comments (9)
I understand the need for this, but unfortunately this feature does not seem to be ready yet, see this forum thread: https://github.community/t5/GitHub-Actions/docker-pull-from-public-GitHub-Package-Registry-fail-with-quot/td-p/32782
However, I have pushed v0.6.0 to docker.pkg.github.com now, so when GH enables the feature, you should be able to switch to using the pre-built Docker image immediately.
For security reasons, I recommend to use the full SHA, when referencing the Docker image (as I also recommend when referencing the action from GH directly). So the workflow file should look like this:
# [...]
jobs:
automerge:
runs-on: ubuntu-latest
steps:
- name: automerge
uses: "docker://docker.pkg.github.com/pascalgn/automerge-action/automerge-action:c7859ab63774304798c4dd36ed106b59bbf728974117a9f350cac756d80d9e37"
# [...]
(the usual Docker syntax would be docker.pkg.github.com/pascalgn/automerge-action/automerge-action@sha256:c7859ab63774304798c4dd36ed106b59bbf728974117a9f350cac756d80d9e37
, but for some reason GH chose to use a slightly different syntax here)
Also, I pushed that image manually, but when someone finds a good example where the action is automatically built and pushed to docker.pkg.github.com, feel free to link it here!
I will leave this issue open until GH fully supports pulling from docker.pkg.github.com in actions.
from automerge-action.
The action is now a JS action and no longer uses Docker now (see #125 and #135) so I will close this 😊
from automerge-action.
Github Actions have become GA and the minutes for private repositories have become chargeable. This will help save some minutes.
from automerge-action.
Just had a dig into this as running hundreds of this action a day is eating into our Actions minutes, and Microsoft still has not fixed this issue :(
Thanks for leaving this open though, hopefully we'll see a fix one day
from automerge-action.
Not sure I understand how this action differs from others I use, but I get An action could not be found at the URI 'https://api.github.com/repos/pascalgn/automerge-action/tarball/0.8.4'
if I use uses: "pascalgn/[email protected]"
is that caused by this issue? It's probably worth calling out in the readme because it seems to be unique to this action.
from automerge-action.
I think it's not related to this issue, it could be because you use 0.8.4
instead of v0.8.4
. If it's fine for you, I would like to ask you to create a new issue for that topic, if you have additional questions/remarks.
from automerge-action.
Yup, that was the issue. Sorry for the noise! 😊
from automerge-action.
Hi, have you considered publishing the docker image to DockerHub
until GitHub solves (if ever) the authentication issue with their own registry?
I'm referring to this answer in the community thread: https://github.community/t/docker-pull-from-public-github-package-registry-fail-with-no-basic-auth-credentials-error/16358/37
PS. I'm not a Docker 🧙 , therefore, I'm not sure if it'll work but I'm willing to help with reducing GH Action minutes usage in this case.
from automerge-action.
However, I have pushed v0.6.0 to docker.pkg.github.com now, so when GH enables the feature, you should be able to switch to using the pre-built Docker image immediately.
Also, I pushed that image manually, but when someone finds a good example where the action is automatically built and pushed to docker.pkg.github.com, feel free to link it here!
I will leave this issue open until GH fully supports pulling from docker.pkg.github.com in actions.
@pascalgn Could this allow us to cache the Docker image here?
from automerge-action.
Related Issues (20)
- Can't change log level to debug. HOT 2
- ΒUG: Unable to bypass branch protection rules HOT 5
- Old configuration option present: LABELS HOT 2
- I am coping HOT 6
- What does BASE_BRANCHES do? HOT 2
- UPDATE_RETRY_SLEEP and UPDATE_RETRIES does not respect label HOT 2
- Gotcha for new repos HOT 2
- Missing commit if merge happens right after it HOT 1
- Question: will automerge bypass branch protections? HOT 1
- Merges PRs when mergeable_state = undefined HOT 2
- Failed to merge PR: Changes must be made through the merge queue HOT 2
- ERROR Resource not accessible by integration HOT 7
- bug: Invalid workflow file
- ERROR fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing HOT 1
- Add 'pull-request-title-and-commit-details' option for MERGE_COMMIT_MESSAGE HOT 2
- Append PR number to merge commit message HOT 2
- Questions about the process with error: Old configuration option present: LABELS HOT 1
- Update more than 10 PRs in a run HOT 3
- PAT not used when merging PRs
- Add MERGE_FILTER_AUTHORS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from automerge-action.