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

GHA docker #165

Merged
merged 19 commits into from
Aug 12, 2021
Merged

GHA docker #165

merged 19 commits into from
Aug 12, 2021

Conversation

mmacata
Copy link
Member

@mmacata mmacata commented Apr 1, 2021

This PR uses now GHA to build and push docker images to dockerhub.
It will also replace the separate branch for builds with grass79, so branch will be deleted in future: https://github.com/mundialis/actinia_core/compare/grass79
This way, no separate 79 release is necessary anymore - which is better, as the actinia code base was the same but needed to be released twice - for g78 and g79.

This workflow takes care of:

  • build and push the following tags for changed in main branch:

    • "g78-latest-alpine"
    • "g78-latest-ubuntu"
    • "g79-latest-alpine"
    • "g79-latest-ubuntu"
    • "latest"
    • git ref tag, eg. "sha-ad132f5"
  • build and push the following tags for releases:

    • update "latest" tag
    • release tag major.minor.path, e.g. "1.2.3" (alpine g78)
    • release tag major.minor, e.g. "1.2" (alpine g78)
    • release tag for g79, e.g. "1.2.3.79" (alpine g79)

@mmacata mmacata changed the title WIP: GHA docker GHA docker Aug 12, 2021
Copy link
Member

@anikaweinmann anikaweinmann left a comment

Choose a reason for hiding this comment

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

As far as I understand the GHA it looks good for me

@mmacata mmacata merged commit e10c094 into actinia-org:main Aug 12, 2021
@mmacata
Copy link
Member Author

mmacata commented Aug 12, 2021

All triggered builds were successful!
https://github.com/mundialis/actinia_core/runs/3313392581?check_suite_focus=true
all 6 tags were build and pushed within 12 minutes after merge 🚀

@mmacata mmacata deleted the gh-actions-docker branch September 7, 2021 10:17
@mmacata mmacata added this to the 1.1.0 milestone Nov 9, 2022
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