-
Notifications
You must be signed in to change notification settings - Fork 115
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
Improve docker image publish and runtime upgrade test workflow #4744
Improve docker image publish and runtime upgrade test workflow #4744
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
bdb0b86
to
90cbc19
Compare
8a3fef7
to
a317f72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I have just left a small question
env: | ||
RUNTIME: mainnetDev | ||
TARGET_RUNTIME: latest | ||
TARGET_RUNTIME: ${{ needs.build_images.outputs.runtime }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, this clearly needed to be adjusted
@@ -65,7 +66,7 @@ jobs: | |||
- name: Cache docker images | |||
uses: actions/cache@v3 | |||
env: | |||
cache-name: joystream-node-docker | |||
cache-name: joystream-node-docker-1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why there's a need for the -1 prefix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I just wanted to force github to use a new cache and not rely on previously cached artifacts
joystream/node:latest
from master branch is skipped injoystream-node-docker.yml
workflow. eg. https://github.com/Joystream/joystream/actions/runs/4675415174/jobs/8280515894 So factored out the step into its own workflowjoystream-node-docker-publish.yml
.