Skip to content

Commit

Permalink
Some needed changes for the specific repo
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Gutierrez <[email protected]>
  • Loading branch information
AlfredoG87 committed Mar 28, 2024
1 parent 8a66aca commit dda9b5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 46 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
- name: Build and push images
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
Expand Down
48 changes: 2 additions & 46 deletions .github/workflows/release-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"

0 comments on commit dda9b5a

Please sign in to comment.