We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 922f92a commit b45e107Copy full SHA for b45e107
.github/workflows/main.yml
@@ -11,9 +11,13 @@ jobs:
11
- name: "Clone repository"
12
uses: actions/checkout@v4
13
- name: "Write version to outputs"
14
- run: echo autoscaler_version=$(grep -oP '(?<=autoscaler_version\s?=\s?")[^"]*' version.tf) >> "$GITHUB_OUTPUT"
+ run: |
15
+ VERSION=$(grep -oP '(?<=autoscaler_version = ")[^"]*' version.tf)
16
+ if [ -z "${VERSION}" ]; then exit 1; fi
17
+ echo autoscaler_version=${VERSION} >> "$GITHUB_OUTPUT"
18
+
19
build_docker_image:
- name: "Build/Push Docker Image"
20
+ name: "Build/Push autoscaler Image"
21
needs: extract_version
22
runs-on: ubuntu-latest
23
permissions:
0 commit comments