Skip to content

Commit b9ffeb1

Browse files
committed
relying on direct make
1 parent d9d06f8 commit b9ffeb1

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/container-validation-backends.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,13 +76,18 @@ jobs:
7676
cd deploy/cloud/operator
7777
docker build --target tester --progress=plain --build-arg DOCKER_PROXY=${ECR_HOSTNAME}/dockerhub/ .
7878
79+
- name: Set up Go
80+
uses: actions/setup-go@v5
81+
with:
82+
go-version: '1.24'
7983
- name: Check for uncommitted changes
8084
shell: bash
8185
env:
8286
ECR_HOSTNAME: ${{ secrets.AWS_ACCOUNT_ID }}.dkr.ecr.${{ secrets.AWS_DEFAULT_REGION }}.amazonaws.com
8387
run: |
88+
sudo apt-get update && sudo apt-get install -y make
8489
cd deploy/cloud/operator
85-
docker build --target checker --progress=plain --build-arg DOCKER_PROXY=${ECR_HOSTNAME}/dockerhub/ .
90+
make check
8691
- name: Build Container
8792
id: build-image
8893
shell: bash

deploy/cloud/operator/Dockerfile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,7 @@ RUN apt-get update && apt-get install -y make && apt-get clean && rm -rf /var/li
4343
# Run tests using Makefile
4444
RUN make test
4545

46-
# Check stage
47-
FROM base AS checker
48-
49-
# Install make if not present
50-
RUN apt-get update && apt-get install -y make && apt-get clean && rm -rf /var/lib/apt/lists/*
51-
52-
# Run check using Makefile
53-
RUN make check
54-
55-
# Build stage - depends on successful lint, test and check
46+
# Build stage - depends on successful lint and test
5647
FROM base AS builder
5748

5849
# Build the binary

0 commit comments

Comments
 (0)