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

use nightly-build wego-app image tag for nightly runs #1423

Merged
merged 8 commits into from
Feb 10, 2022
Merged

Conversation

aclevername
Copy link
Contributor

@aclevername aclevername commented Feb 9, 2022

env:
REGISTRY: ghcr.io
IMAGE_NAME: weaveworks/wego-app
USE_NIGHTLY_BUILD_TAG: "true"
Copy link
Contributor

Choose a reason for hiding this comment

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

One small nit. Can we have this as 1 and then just check that it's set? There is usually no point in doing a string "true" in bash. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh right, you are already doing this:

	} else if os.Getenv("USE_NIGHTLY_BUILD_TAG") != "" {
		version = "nightly-build"
	}

so just set it to 1. :)

env:
REGISTRY: ghcr.io
IMAGE_NAME: weaveworks/wego-app
USE_NIGHTLY_BUILD_TAG: "true"
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
USE_NIGHTLY_BUILD_TAG: "true"
USE_NIGHTLY_BUILD_TAG: 1

@aclevername aclevername merged commit 32b9f15 into main Feb 10, 2022
@ozamosi ozamosi deleted the fix-nightly branch May 12, 2022 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly build fails
2 participants