Skip to content

fixup: trying to be more direct in tag filtering #172

fixup: trying to be more direct in tag filtering

fixup: trying to be more direct in tag filtering #172

Workflow file for this run

on:
push:
tags:
- '.*(sdf|rebaser|pinga|web|veritech).*'
- 'bin/sdf/image/*'
- 'bin/rebaser/image/*'
- 'bin/pinga/image/*'
- 'bin/veritech/image/*'
- 'app/web/image/*'
# which directly matches [examples]
# bin/sdf/image/20240820.143323.0-sha.982dd5a81,
# bin/rebaser/image/20240820.143323.0-sha.982dd5a81,
# bin/pinga/image/20240820.143323.0-sha.982dd5a81
# bin/veritech/image/20240820.031721.0-sha.efea02a6a
# app/web/image/20240820.000535.0-sha.13e826961
jobs:
parse-tag:
runs-on: ubuntu-latest
outputs:
service: ${{ steps.service.outputs.service }}
steps:
- id: service
run: |
echo "service=$(echo "${{ github.ref_name }}" | awk -F'/' '{print $2}')" >> "$GITHUB_OUTPUT"
#deploy-tools-prod:
# needs: parse-tag
# uses: ./.github/workflows/deploy-stack.yml
# with:
# environment: tools
# service: ${{ needs.parse-tag.outputs.service }}
# version: stable
# deploy-type: binary
# secrets: inherit
# continue-on-error: true
#full-deploy-on-failure:
# if: failure()
# uses: ./.github/workflows/deploy-stack.yml
# with:
# environment: tools
# service: all
# version: stable
# deploy-type: instance
# secrets: inherit
# needs: deploy-tools-prod