Skip to content

Commit 3f14cc2

Browse files
authored
fix: enable CI and set version from tags in workflow (#148)
1 parent 21487a1 commit 3f14cc2

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

.github/workflows/build-docker.yaml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ permissions:
55

66
on:
77
push:
8-
# tags:
9-
# - "v*"
10-
# pull_request: # FOR TESTING PURPOSES
8+
tags:
9+
- "v*"
1110

1211
jobs:
13-
# ci:
14-
# uses: ./.github/workflows/ci-nebula.yaml
12+
ci:
13+
uses: ./.github/workflows/ci-nebula.yaml
1514

1615
build:
1716
runs-on: ${{ matrix.os }}
18-
# needs: ci
17+
needs: ci
1918
strategy:
2019
fail-fast: false
2120
matrix:
@@ -25,14 +24,10 @@ jobs:
2524
- name: Checkout
2625
uses: actions/checkout@v4
2726

28-
# - name: Set release version
29-
# id: set_version
30-
# run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
31-
# shell: bash
32-
3327
- name: Set release version
3428
id: set_version
35-
run: echo "VERSION=alpha" >> $GITHUB_OUTPUT
29+
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
30+
shell: bash
3631

3732
- name: Set up QEMU
3833
uses: docker/setup-qemu-action@v3

0 commit comments

Comments
 (0)