-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update github actions for releasing manifests and images
Signed-off-by: Parth Yadav <[email protected]>
- Loading branch information
1 parent
d95384c
commit ba1a5f4
Showing
55 changed files
with
376 additions
and
323 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Release BYOH controller | ||
|
||
on: | ||
push: | ||
# Build and publish artifacts when new tag is created for release | ||
tags: | ||
- "v*.*.*" | ||
|
||
|
||
jobs: | ||
build-and-publish-byoh-controller: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Login to Docker Hub | ||
env: | ||
DOCKER_USER: ${{secrets.DOCKERHUB_USER}} | ||
DOCKER_PWD: ${{secrets.DOCKERHUB_USER}} | ||
run: docker login -u $DOCKER_USER -p $DOCKER_PWD | ||
|
||
- name: pre-cleanup the docker | ||
run: sudo docker system prune -a -f && sudo docker buildx prune | ||
|
||
- name: build and push controller image | ||
env: | ||
REPO: ${{ github.repository_owner }} | ||
TAG: ${{ github.ref_name }} | ||
run: | | ||
IMG=$REPO/cluster-api-byoh-controller:$TAG make docker-build | ||
docker push $REPO/cluster-api-byoh-controller:$TAG | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
## Adding your organization to the list of Bring Your Own Host Provider Adopters | ||
|
||
If you are using BYOH and would like to be included in the list of `BYOH Adopters`, add an SVG version of your logo to the `static/img/adopters` directory in this repo and submit a [pull request](https://github.com/vmware-tanzu/cluster-api-provider-bringyourownhost/pulls) with your change. Name the image file something that reflects your company (e.g., if your company is called Acme, name the image acme.png). | ||
If you are using BYOH and would like to be included in the list of `BYOH Adopters`, add an SVG version of your logo to the `static/img/adopters` directory in this repo and submit a [pull request](https://github.com/coredgeio/cluster-api-provider-bringyourownhost/pulls) with your change. Name the image file something that reflects your company (e.g., if your company is called Acme, name the image acme.png). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.