Skip to content

Commit

Permalink
release creation is removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kasim-fb committed Nov 28, 2024
1 parent bc69ec6 commit 8fbb70b
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/docker-build-and-push.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Build, Push, Update RunPod, and Create Release
name: Build, Push, and Update RunPod Template

on:
push:
branches:
- main

jobs:
build-push-release:
build-push-runpod:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -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


0 comments on commit 8fbb70b

Please sign in to comment.