File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ # NOTE: This file is automatically generated from values at:
16
+ # https://github.com/GoogleCloudPlatform/cloud-foundation-toolkit/blob/master/infra/terraform/test-org/org/locals.tf
17
+
15
18
name : ' lint'
16
19
17
20
on :
@@ -32,12 +35,12 @@ jobs:
32
35
- id : variables
33
36
run : |
34
37
MAKEFILE=$(find . -name Makefile -print -quit)
35
- if [ ! -f $MAKEFILE ]; then
38
+ if [ ! -z " $MAKEFILE" ]; then
36
39
echo dev-tools=gcr.io/cloud-foundation-cicd/cft/developer-tools:1 >> "$GITHUB_OUTPUT"
37
40
else
38
41
VERSION=$(grep "DOCKER_TAG_VERSION_DEVELOPER_TOOLS := " $MAKEFILE | cut -d\ -f3)
39
42
IMAGE=$(grep "DOCKER_IMAGE_DEVELOPER_TOOLS := " $MAKEFILE | cut -d\ -f3)
40
43
REGISTRY=$(grep "REGISTRY_URL := " $MAKEFILE | cut -d\ -f3)
41
44
echo dev-tools=${REGISTRY}/${IMAGE}:${VERSION} >> "$GITHUB_OUTPUT"
42
45
fi
43
- - run : docker run --rm -e EXCLUDE_LINT_DIRS - v ${{ github.workspace }}:/workspace ${{ steps.variables.outputs.dev-tools }} /usr/local/bin/test_lint.sh
46
+ - run : docker run --rm -v ${{ github.workspace }}:/workspace ${{ steps.variables.outputs.dev-tools }} /usr/local/bin/test_lint.sh
You can’t perform that action at this time.
0 commit comments