fix: i really hate github actions

This commit is contained in:
Naterfute
2025-09-30 14:41:13 -07:00
parent fddf90d123
commit 6edb2cde11
2 changed files with 9 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
name: Build and Push release docker image
name: Build & Push Version
on:
push:
branches:
@@ -16,6 +16,14 @@ jobs:
with:
fetch-depth: 1
- name: Extract version from branch name
id: extract_version
run: |
BRANCH_NAME="${{ github.ref_name }}"
VERSION="${BRANCH_NAME#releases/v}"
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Extracted version: $VERSION"
- name: Login to GHCR
uses: docker/login-action@v3
with:

View File

@@ -65,10 +65,3 @@ jobs:
draft: false
prerelease: ${{ inputs.release_type == 'prerelease' }}
files: panel.tar.gz
build-docker:
name: Build and Push release docker image
needs: create-release
uses: ./.github/workflows/prod-build.yaml
permissions:
packages: write