Update workflow.yml
This commit is contained in:
2
.github/workflows/workflow.yml
vendored
2
.github/workflows/workflow.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user