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 the Workflow to do a dev-release #278

Open
bupd opened this issue Dec 3, 2024 · 4 comments · Fixed by #279
Open

Update the Workflow to do a dev-release #278

bupd opened this issue Dec 3, 2024 · 4 comments · Fixed by #279
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@bupd
Copy link
Member

bupd commented Dec 3, 2024

Change the push-latest-images and publish-release conditions to the below given condition.

        if: |
          github.event_name == 'push' &&
          (
            github.ref == 'refs/heads/main' ||
            startsWith(github.ref, 'refs/tags/')
          )

With the above change we should have a Release for every push to main branch.

@bupd bupd added bug Something isn't working good first issue Good for newcomers labels Dec 3, 2024
@bupd bupd added this to Harbor CLI Dec 3, 2024
@Standing-Man
Copy link
Contributor

Hi @bupd, I'm a bit confused about the conditions for triggering push-latest-images and publish-release. Does it only trigger when the pushed branch is main or when a Git tag is pushed, to generate and publish new images? To put it simply, does this mean that the GitHub Actions for push-latest-images and publish-release will only be triggered when a branch is merged into main, or when a new version of harbor-cli is released?

@bupd
Copy link
Member Author

bupd commented Dec 4, 2024

To simply put it.

There will be two releases.
A dev-release for every push to main branch.
A normal release on every tag pushed.

@bupd
Copy link
Member Author

bupd commented Dec 19, 2024

Reopening this issue, Since the dev-release of Harbor-Cli is still not made.

@bupd bupd reopened this Dec 19, 2024
@Vad1mo
Copy link
Member

Vad1mo commented Dec 20, 2024

Inqould suggest using the latest tag instead and fthe "dev" tag

@bupd bupd moved this from Done to Backlog in Harbor CLI Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants