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

feat: support publish_hubble_image to dockerhub automatically (V2) #2

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

aroundabout
Copy link
Collaborator

Main change

Logic is the same as the pr to publish server image: publish_server_image, which can avoid publish images repeatedly.

Before Merge

Before merge, admin should set the public var LAST_HUBBLE_HASH as an empty value or test value.
image

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.


steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
Copy link
Collaborator

Choose a reason for hiding this comment

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

image

also update other ci actions thx

uses: docker/setup-buildx-action@v2

- name: Login to Docker Hub
uses: docker/login-action@v2
Copy link
Collaborator

Choose a reason for hiding this comment

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

image

password: ${{ secrets.DOCKERHUB_PASSWORD }}

- name: Checkout latest
uses: actions/checkout@v3
Copy link
Collaborator

Choose a reason for hiding this comment

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

same

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

docker/build-push-action@v5
This script is also updated.
BTW, the cache seems not speed up the build process.

Copy link
Collaborator

Choose a reason for hiding this comment

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

docker/build-push-action@v5 This script is also updated. BTW, the cache seems not speed up the build process.

yep, the cache is not work now (could submit a issue for it, and try to solve it later) 😢

Copy link
Collaborator

@imbajin imbajin left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants