Merge pull request #2 from anshul7665/anshulss/buildimage

fixed  job dependency
This commit is contained in:
Anshul Sharma 2025-04-23 20:54:25 +05:30 committed by GitHub
commit 8c0fa4887e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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