Skip to content

Commit

Permalink
feat: Added argocd pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
marchuk-vlad committed Sep 25, 2024
1 parent 82a40b2 commit fed954c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/text-generation-webui-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Build Docker image and save to file
run: |
IMAGE_FILE="$SOLUTION-image-$TARGET-b${{ github.run_id }}"
IMAGE_FILE="$SOLUTION-image-b${{ github.run_id }}"
docker build -t $SOLUTION:latest -f "$DOCKERFILE" "$DOCKERFILE_CONTEXT"
docker save $SOLUTION:latest | gzip > $IMAGE_FILE.tar.gz
Expand Down Expand Up @@ -91,3 +91,13 @@ jobs:
./spctl files upload $IMAGE_FILE.tar.gz --output $IMAGE_FILE.json --filename $IMAGE_FILE.tar.gz
cat $IMAGE_FILE.json
echo "IMAGE_RESOURCE=$IMAGE_FILE.json" >> $GITHUB_ENV
- name: Update argocd
uses: Super-Protocol/sp-build-tools/actions/update-argocdl@update-argocd
with:
gh_token: ${{ secrets.GHFG_TOKEN_SPCTL_RELEASES_DOWNLOAD }}
target: ${{ inputs.target }}
resource_type: solution
resource_file: ${{ env.IMAGE_RESOURCE }}
solution_name: ${{ env.SOLUTION }}
commit_type: pull-request

0 comments on commit fed954c

Please sign in to comment.