-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some needed changes for the specific repo
Signed-off-by: Alfredo Gutierrez <[email protected]>
- Loading branch information
1 parent
8a66aca
commit dda9b5a
Showing
2 changed files
with
4 additions
and
46 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
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 |
---|---|---|
|
@@ -38,54 +38,10 @@ jobs: | |
- name: Build and push auth-layer-proxy image | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: ./auth-layer-proxy | ||
file: ./auth-layer-proxy/Dockerfile | ||
cache-from: type=gha | ||
cache-to: type=gha,mode=max | ||
platforms: linux/amd64, linux/arm64 | ||
push: true | ||
tags: ${{ env.REGISTRY }}/${{ github.repository }}:auth-layer-proxy-${{env.TAG}} | ||
|
||
npm-package-artifact: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install packages | ||
run: npm ci | ||
|
||
- name: Get tag | ||
run: echo "TAG=${GITHUB_REF#refs/*/v}" >> $GITHUB_ENV | ||
|
||
- name: Produce artifact | ||
run: tar -czf ${{ env.PACKAGE_NAME }}-auth-layer-proxy-v${{env.TAG}}.tgz -C ./packages . | ||
|
||
- name: Upload artifact | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.PACKAGE_NAME }}-auth-layer-proxy-v${{env.TAG}} | ||
path: ./*.tgz | ||
if-no-files-found: error | ||
|
||
helm-chart-release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Configure Git | ||
run: | | ||
git config user.name "$GITHUB_ACTOR" | ||
git config user.email "[email protected]" | ||
- name: Install Helm | ||
uses: azure/setup-helm@v3 | ||
|
||
- name: Run chart-releaser | ||
uses: helm/[email protected] | ||
env: | ||
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |