-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #33 from kube-tarian/helm-docker-config
helm and docker configuration files updated
- Loading branch information
Showing
7 changed files
with
182 additions
and
4 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,38 @@ | ||
name: Agent Docker Image CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'charts/**' | ||
- '**.md' | ||
branches: [ main ] | ||
pull_request: | ||
paths-ignore: | ||
- 'helm/**' | ||
- '**.md' | ||
branches: [ main ] | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: docker build . --file dockerfiles/agent/Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/agent:latest | ||
- name: Docker push | ||
run: | | ||
docker login ${{ env.REGISTRY }} -u jebinjeb -p ${{ secrets.GITHUB_TOKEN }} | ||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/agent:latest | ||
if: github.event_name == 'push' | ||
|
||
|
||
|
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,38 @@ | ||
name: Client Docker Image CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'charts/**' | ||
- '**.md' | ||
branches: [ main ] | ||
pull_request: | ||
paths-ignore: | ||
- 'helm/**' | ||
- '**.md' | ||
branches: [ main ] | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: docker build . --file dockerfiles/config-worker/Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/config-worker:latest | ||
- name: Docker push | ||
run: | | ||
docker login ${{ env.REGISTRY }} -u jebinjeb -p ${{ secrets.GITHUB_TOKEN }} | ||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/config-worker:latest | ||
if: github.event_name == 'push' | ||
|
||
|
||
|
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,38 @@ | ||
name: Client Docker Image CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'charts/**' | ||
- '**.md' | ||
branches: [ main ] | ||
pull_request: | ||
paths-ignore: | ||
- 'helm/**' | ||
- '**.md' | ||
branches: [ main ] | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: docker build . --file dockerfiles/deployment-worker/Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/deployment-worker:latest | ||
- name: Docker push | ||
run: | | ||
docker login ${{ env.REGISTRY }} -u jebinjeb -p ${{ secrets.GITHUB_TOKEN }} | ||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/deployment-worker:latest | ||
if: github.event_name == 'push' | ||
|
||
|
||
|
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,26 @@ | ||
name: Helm Chart publish | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'charts/**' | ||
branches: | ||
- main | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "$GITHUB_ACTOR@@gmail.com" | ||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
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,38 @@ | ||
name: Client Docker Image CI | ||
|
||
on: | ||
push: | ||
paths-ignore: | ||
- 'charts/**' | ||
- '**.md' | ||
branches: [ main ] | ||
pull_request: | ||
paths-ignore: | ||
- 'helm/**' | ||
- '**.md' | ||
branches: [ main ] | ||
|
||
env: | ||
# Use docker.io for Docker Hub if empty | ||
REGISTRY: ghcr.io | ||
# github.repository as <account>/<repo> | ||
IMAGE_NAME: ${{ github.repository }} | ||
|
||
jobs: | ||
|
||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build the Docker image | ||
run: docker build . --file dockerfiles/server/Dockerfile --tag ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/server:latest | ||
- name: Docker push | ||
run: | | ||
docker login ${{ env.REGISTRY }} -u jebinjeb -p ${{ secrets.GITHUB_TOKEN }} | ||
docker push ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}/server:latest | ||
if: github.event_name == 'push' | ||
|
||
|
||
|
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