Update workflow.yml

This commit is contained in:
lowlighter
2021-03-07 11:21:00 +01:00
parent 6f2eb7b4d5
commit cdd750bf5c

View File

@@ -46,6 +46,8 @@ jobs:
METRICS_VERSION=$(cat package.json | grep -Po '(?<="version": ")\d+[.]\d+(?=[.]0-beta")') METRICS_VERSION=$(cat package.json | grep -Po '(?<="version": ")\d+[.]\d+(?=[.]0-beta")')
METRICS_VERSION_BETA="$METRICS_VERSION-beta" METRICS_VERSION_BETA="$METRICS_VERSION-beta"
set -e set -e
echo "v$METRICS_VERSION"
echo "v$METRICS_VERSION_BETA"
- name: Build lowlighter/metrics:${{ github.head_ref || 'master' }} - name: Build lowlighter/metrics:${{ github.head_ref || 'master' }}
run: docker build -t lowlighter/metrics:${{ github.head_ref || 'master' }} . run: docker build -t lowlighter/metrics:${{ github.head_ref || 'master' }} .
- name: Run tests - name: Run tests