From dda9b5a8ac2e158ddf497765405c1bd2f72357a2 Mon Sep 17 00:00:00 2001 From: Alfredo Gutierrez Date: Thu, 28 Mar 2024 14:23:35 -0600 Subject: [PATCH] Some needed changes for the specific repo Signed-off-by: Alfredo Gutierrez --- .github/workflows/release-integration.yml | 2 + .github/workflows/release-production.yml | 48 +---------------------- 2 files changed, 4 insertions(+), 46 deletions(-) diff --git a/.github/workflows/release-integration.yml b/.github/workflows/release-integration.yml index 6873e20..8012c29 100644 --- a/.github/workflows/release-integration.yml +++ b/.github/workflows/release-integration.yml @@ -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 diff --git a/.github/workflows/release-production.yml b/.github/workflows/release-production.yml index 9ab878e..e783c81 100644 --- a/.github/workflows/release-production.yml +++ b/.github/workflows/release-production.yml @@ -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 "$GITHUB_ACTOR@users.noreply.github.com" - - - name: Install Helm - uses: azure/setup-helm@v3 - - - name: Run chart-releaser - uses: helm/chart-releaser-action@v1.5.0 - env: - CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"