diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index aa0df03..e98344c 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -43,7 +43,7 @@ jobs: set-tag: name: Set Tag Name - needs: [detect-project, build] + needs: [build-and-test] #if: ${{ !failure() && !cancelled() && github.event_name != 'pull_request' }} runs-on: ubuntu-latest outputs: @@ -114,12 +114,12 @@ jobs: run: | docker buildx build \ --platform ${{ env.DOCKER_PLATFORMS }} \ - -t ${{ env.REGISTRY_URL }}/watcher/${{ env.DOCKER_IMAGE_NAME }}:${{ needs.set-tag.outputs.tag_name }} \ + -t ${{ env.REGISTRY_URL }}/watcher/${{ env.DOCKER_IMAGE_NAME }}:${{ needs.set_tag.outputs.tag_name }} \ --push . tag: name: Create Tag - needs: [docker-build, build, set-tag] + needs: [docker-build-and-push] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4