Skip to content

fix(ci): refactor to custom action #29

fix(ci): refactor to custom action

fix(ci): refactor to custom action #29

Workflow file for this run

name: Deploy DBT image
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "dbt/**"
defaults:
run:
shell: bash
jobs:
tag:
name: Set deployment tag
runs-on: ubuntu-latest
outputs:
value: ${{ steps.set_tag.outputs.value }}
steps:
- id: set_tag
run: echo "value=$(date +'%F.%H%M')" >> $GITHUB_OUTPUT
build:
needs: tag
name: Build dbt tool
uses: ./.github/actions/build-image

Check failure on line 35 in .github/workflows/deploy-dbt.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-dbt.yml

Invalid workflow file

invalid value workflow reference: no version specified
with:
name: dbt
context: ./dbt
tag: ${{ needs.tag.outputs.value }}
dockerfile: ./docker/dbt/prod/Dockerfile