diff --git a/.github/workflows/production.yaml b/.github/workflows/production.yaml index 09f4b8c..73948df 100644 --- a/.github/workflows/production.yaml +++ b/.github/workflows/production.yaml @@ -46,15 +46,6 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - - name: Setup Infisical - uses: Infisical/secrets-action@v1.0.6 - with: - client-id: ${{ secrets.INFISICAL_CLIENT_ID }} - client-secret: ${{ secrets.INFISICAL_CLIENT_SECRET }} - env-slug: prod - project-slug: 2024-newbies-un-mb - domain: ${{ secrets.INFISICAL_DOMAIN }} - - name: Set up JDK 21 uses: actions/setup-java@v4 with: @@ -90,18 +81,15 @@ jobs: - name: Update Kubernetes Manifest env: - REGISTRY: ${{ needs.build.outputs.REGISTRY }} - REPOSITORY: ${{ needs.build.outputs.REPOSITORY }} IMAGE_TAG: ${{ needs.build.outputs.IMAGE_TAG }} run: | - sed -i "s|image:.*|image: $REGISTRY\/$REPOSITORY:$IMAGE_TAG|g" infoteam/service/2024_newbies/prod.yaml + sed -i "s|image:.*|image: $IMAGE_TAG|g" infoteam/service/2024_newbies/prod.yaml - name: Commit and Push env: - REPOSITORY: ${{ needs.build.outputs.REPOSITORY }} IMAGE_TAG: ${{ needs.build.outputs.IMAGE_TAG }} run: | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --global user.name "GitHub Actions" - git commit -am "Update image $REPOSITORY:$IMAGE_TAG" + git commit -am "Update image $IMAGE_TAG" git push -u origin master \ No newline at end of file