From 8fbb70bdbb50f43d4609f3ea28a028105a4c24be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Muhammed=20Kas=C4=B1m=20Kuzi?= Date: Thu, 28 Nov 2024 10:26:32 +0300 Subject: [PATCH] release creation is removed --- .github/workflows/docker-build-and-push.yaml | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/.github/workflows/docker-build-and-push.yaml b/.github/workflows/docker-build-and-push.yaml index 4184361..844e08e 100644 --- a/.github/workflows/docker-build-and-push.yaml +++ b/.github/workflows/docker-build-and-push.yaml @@ -1,4 +1,4 @@ -name: Build, Push, Update RunPod, and Create Release +name: Build, Push, and Update RunPod Template on: push: @@ -6,7 +6,7 @@ on: - main jobs: - build-push-release: + build-push-runpod: runs-on: ubuntu-latest steps: @@ -40,18 +40,3 @@ jobs: -H "Content-Type: application/json" \ -d '{"templateId": "ti08xt5xpn", "containerImage": "'$IMAGE_NAME:$VERSION'"}' \ https://api.runpod.io/v1/templates/update - - - name: Create GitHub Release - id: create_release - uses: actions/create-release@v1 - with: - token: ${{ secrets.RELEASE_TOKEN }} # Pass the GitHub token - tag_name: v$(cat VERSION.txt) # Use the version as the tag - release_name: Docker Image Release $(cat VERSION.txt) - body: | - - Docker Image: `mkkuzi/kasim-runpod-test:$(cat VERSION.txt)` - - RunPod template updated with the new image version. - draft: false - prerelease: false - -