fixed job dependency

This commit is contained in:
Anshul Sharma 2025-04-23 20:53:37 +05:30
parent 2aa8769724
commit a9b7b6dd77

View file

@ -12,12 +12,16 @@ on:
- patch - patch
- minor - minor
- major - major
branch:
description: 'Branch to tag (leave empty for default branch)'
required: false
default: ''
permissions: permissions:
contents: write contents: write
jobs: jobs:
tag_release: tag_release:
needs: tag_release
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
IMAGE_TAG: ${{ needs.tag_release.outputs.new_tag }} IMAGE_TAG: ${{ needs.tag_release.outputs.new_tag }}
@ -108,6 +112,7 @@ jobs:
build__and_push_docker_image: build__and_push_docker_image:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: tag_release
permissions: permissions:
packages: write packages: write
contents: read contents: read