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

Update docker test image name #1644

Merged
merged 1 commit into from
Dec 12, 2023
Merged

Update docker test image name #1644

merged 1 commit into from
Dec 12, 2023

Conversation

cdamian
Copy link
Contributor

@cdamian cdamian commented Dec 11, 2023

Description

Update docker test image name

Copy link
Contributor

@wischli wischli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. The latest tage event should not be changed. It should indeed only be built during the release trigger for docker, i.e. when we draft a release. Unfortunately, that pipeline didn't get triggered for the latest v0.10.35 release. AFAICT because of missing GHA tokens.

type=raw,value=latest,enable=${{ github.event_name == 'release' }}
type=raw,value=latest,enable=true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should not be merged. The purpose of latest reflects the latest releases. We don't want node operators to run our dev images.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then I'll revert this and I guess we want to debug the issue of not having the latest tag for the last release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no release events for our repo it seems:

https://github.com/centrifuge/centrifuge-chain/actions?query=event%3Arelease

Maybe we want to have something like the trigger mentioned here:

on:
  release:
    types: [published]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do have that trigger set up:

release:
types: [created] # GITHUB_REF == tag pushed with the release

Unfortunately, I don't have capacity to look into this. It should be related to this StackOverflow question/solution: https://stackoverflow.com/questions/69063452/github-actions-on-release-created-workflow-trigger-not-working

@cdamian cdamian force-pushed the docker-enable-latest-tag branch from fec8b84 to b4db881 Compare December 11, 2023 09:44
@cdamian cdamian changed the title Docker enable latest tag Update docker test image name Dec 11, 2023
@cdamian cdamian force-pushed the docker-enable-latest-tag branch from b4db881 to 0042f79 Compare December 12, 2023 16:08
Copy link
Contributor

@wischli wischli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this!

@wischli wischli enabled auto-merge (squash) December 12, 2023 16:39
@wischli wischli merged commit e8fd4d3 into main Dec 12, 2023
9 checks passed
@cdamian cdamian deleted the docker-enable-latest-tag branch December 12, 2023 16:45
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

Successfully merging this pull request may close these issues.

2 participants