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

build: migrate to hyperledger-identus org and Docker Hub #1520

Merged
merged 20 commits into from
Feb 13, 2025
Merged

Conversation

yshyn-iohk
Copy link
Contributor

@yshyn-iohk yshyn-iohk commented Feb 12, 2025

Description:

  1. fixed links after migration to the new org: hyperledger-identus
  2. modified revision build to publish the snapshot to the Docker Hub

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Yurii Shynbuiev <[email protected]>
Signed-off-by: Yurii Shynbuiev <[email protected]>
Copy link
Contributor

github-actions bot commented Feb 12, 2025

Integration Test Results

 23 files  ±0   23 suites  ±0   3s ⏱️ ±0s
 56 tests ±0   56 ✅ ±0  0 💤 ±0  0 ❌ ±0 
103 runs  ±0  103 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit a7528d3. ± Comparison against base commit 8147901.

♻️ This comment has been updated with latest results.

Copy link
Contributor

github-actions bot commented Feb 12, 2025

Unit Test Results

105 files  ±0  105 suites  ±0   16m 44s ⏱️ - 6m 24s
889 tests ±0  881 ✅ +12  8 💤 ±0  0 ❌  - 12 
896 runs  ±0  888 ✅ +12  8 💤 ±0  0 ❌  - 12 

Results for commit a7528d3. ± Comparison against base commit 8147901.

♻️ This comment has been updated with latest results.

Signed-off-by: Hyperledger Bot <[email protected]>
Co-authored-by: Hyperledger Bot <[email protected]>
Co-authored-by: Yurii Shynbuiev <[email protected]>
@yshyn-iohk yshyn-iohk enabled auto-merge (squash) February 13, 2025 12:46
Copy link
Contributor

@FabioPinheiro FabioPinheiro left a comment

Choose a reason for hiding this comment

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

There is just one small change, but everything else seems good

run: |
sbt "set version := \"${{ env.BUILD_VERSION }}\"" "docker:stage"
docker buildx build --platform=linux/arm64,linux/amd64 --push -t ghcr.io/hyperledger/identus-cloud-agent:${{ env.BUILD_VERSION}} ./cloud-agent/service/server/target/docker/stage
docker buildx build --platform=linux/arm64,linux/amd64 --push -t ${{ vars.DOCKERHUB_ORG }}/identus-cloud-agent:${{ env.BUILD_VERSION }} ./cloud-agent/service/server/target/docker/stage
Copy link
Contributor

Choose a reason for hiding this comment

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

you missing the docker.io

Suggested change
docker buildx build --platform=linux/arm64,linux/amd64 --push -t ${{ vars.DOCKERHUB_ORG }}/identus-cloud-agent:${{ env.BUILD_VERSION }} ./cloud-agent/service/server/target/docker/stage
docker buildx build --platform=linux/arm64,linux/amd64 --push -t docker.io/${{ vars.DOCKERHUB_ORG }}/identus-cloud-agent:${{ env.BUILD_VERSION }} ./cloud-agent/service/server/target/docker/stage

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@FabioPinheiro, afaik, docker.io is a default registry for the docker command
I tested this in the build.yml workflow here

@yshyn-iohk yshyn-iohk merged commit 9288470 into main Feb 13, 2025
13 checks passed
@yshyn-iohk yshyn-iohk deleted the ci/1514 branch February 13, 2025 16:00
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.

3 participants