diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 0b7cafe77..6c11f9c34 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -32,8 +32,8 @@ jobs: - name: Build and Push Image with Tag run: | - docker build --no-cache --platform=linux/amd64 --target ${{ matrix.image }}-prod --tag "${{ secrets.DOCKER_USERNAME }}/bt-${{ matrix.image }}:${{ inputs.tag }}" . - docker push "${{ secrets.DOCKER_USERNAME }}/bt-${{ matrix.image }}:${{ inputs.tag }}" + docker build --no-cache --platform=linux/amd64 --target ${{ matrix.image }}-prod --tag "${{ secrets.DOCKER_USERNAME }}/bt-${{ matrix.image }}:${{ inputs.image_tag }}" . + docker push "${{ secrets.DOCKER_USERNAME }}/bt-${{ matrix.image }}:${{ inputs.image_tag }}" build-push-chart: name: Build and Push Helm Chart @@ -45,6 +45,8 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 + with: + sparse-checkout: infra - name: Login to Docker Hub uses: docker/login-action@v3