-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Despite setting a specific version (@v2, @v3.0.0, etc.), the Docker image that's pulled is always stale_repos:v1 which isn't updated.
I believe this is happening because the action.yml metadata file still references the v1 image, even in later releases.
Lines 8 to 10 in 1d81794
| runs: | |
| using: "docker" | |
| image: "docker://ghcr.io/github/stale_repos:v1" |
To Reproduce
For example, when using github/stale-repos@v2 as shown in the README examples.
steps:
- name: Run stale_repos tool
uses: github/stale-repos@v2
env:
<...>The image pulled in the Actions log is ghcr.io/github/stale_repos:v1
Pull down action image 'ghcr.io/github/stale_repos:v1'
/usr/bin/docker pull ghcr.io/github/stale_repos:v1
<...>
Using a docker path instead of the action name is a potential workaround.
steps:
- name: Run stale_repos tool
uses: docker://ghcr.io/github/stale_repos:v2
env:
<...>Expected behavior
I would expect the action version and the pulled docker image to correspond. In other words, I expect @v2 to pull a Docker image containing the code released at v2.x.x
Screenshots
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working