mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-07 13:09:11 +00:00
fixed job dependency
This commit is contained in:
parent
2aa8769724
commit
a9b7b6dd77
1 changed files with 6 additions and 1 deletions
7
.github/workflows/docker_build.yaml
vendored
7
.github/workflows/docker_build.yaml
vendored
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue