You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use GitHub Actions for CI/CD so I would like to use GHA cache for the Docker image build process. However the Image resource always gets updated because the cacheFrom and cacheTo differ. As per the docs, when url and token arguments are not provided for the GHA cacheFrom and cacheTo, they are taken from the environment variables ACTIONS_RUNTIME_URL and ACTIONS_RUNTIME_TOKEN. However, even though the runtime URL stays the same, the token is always different as it is a JWT token related to the current workflow run and job (see e.g. here). I expect Pulumi not to trigger an update when url and token are not provided explicitely.
CLI
Version 3.116.1
Go Version go1.22.2
Go Compiler gc
Host
OS ubuntu
Version 24.04
Arch x86_64
Backend
Name xxx
URL s3://xxx
User xxx
Organizations
Token type personal
Pulumi locates its logs in /tmp by default
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered:
What happened?
We use GitHub Actions for CI/CD so I would like to use GHA cache for the Docker image build process. However the
Image
resource always gets updated because thecacheFrom
andcacheTo
differ. As per the docs, whenurl
andtoken
arguments are not provided for the GHAcacheFrom
andcacheTo
, they are taken from the environment variablesACTIONS_RUNTIME_URL
andACTIONS_RUNTIME_TOKEN
. However, even though the runtime URL stays the same, the token is always different as it is a JWT token related to the current workflow run and job (see e.g. here). I expect Pulumi not to trigger an update whenurl
andtoken
are not provided explicitely.Example
This is the relevant part of the Pulumi program:
This is the relevant part of the GitHub Actions log from the
pulumi up
step:Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
The text was updated successfully, but these errors were encountered: